MultipleGroupPolicyObjectsFoundException Constructor (String, Exception)
Initializes a new instance of the MultipleGroupPolicyObjectsFoundException class with a specified error message and the inner exception that is the cause of this exception.
Namespace: Microsoft.GroupPolicy
Assembly: Microsoft.GroupPolicy.Management (in microsoft.grouppolicy.management.dll)
Usage
Dim message As String
Dim innerException As Exception
Dim instance As New MultipleGroupPolicyObjectsFoundException(message, innerException)
Syntax
'Declaration
Public Sub New ( _
message As String, _
innerException As Exception _
)
public MultipleGroupPolicyObjectsFoundException (
string message,
Exception innerException
)
public:
MultipleGroupPolicyObjectsFoundException (
String^ message,
Exception^ innerException
)
public MultipleGroupPolicyObjectsFoundException (
String message,
Exception innerException
)
public function MultipleGroupPolicyObjectsFoundException (
message : String,
innerException : Exception
)
Parameters
- message
The error message that describes the reason for the exception.
- innerException
The exception that is the cause of the current exception. If the innerException parameter is not null, the current exception is raised in a catch block that handles the inner exception.
Platforms
Development Platforms
Windows Server 2008 R2
Target Platforms
Windows Server 2008 R2
See Also
Reference
MultipleGroupPolicyObjectsFoundException Class
MultipleGroupPolicyObjectsFoundException Members
Microsoft.GroupPolicy Namespace