Language

MultipleGroupPolicyObjectsFoundException Constructor (String, String, ICollection<Guid>, Exception)

 

Initializes a new instance of the MultipleGroupPolicyObjectsFoundException class with a specified error message, the name of the parameter that caused this exception, the list of Group Policy objects (GPOs) that have the same display name, and the inner exception that caused this exception.

Namespace:   Microsoft.GroupPolicy
Assembly:  Microsoft.GroupPolicy.Management (in Microsoft.GroupPolicy.Management.dll)

Syntax

public MultipleGroupPolicyObjectsFoundException(
    string message,
    string paramName,
    ICollection<Guid> gpoList,
    Exception innerException
)
public:
MultipleGroupPolicyObjectsFoundException(
    String^ message,
    String^ paramName,
    ICollection<Guid>^ gpoList,
    Exception^ innerException
)
new : 
        message:string *
        paramName:string *
        gpoList:ICollection<Guid> *
        innerException:Exception -> MultipleGroupPolicyObjectsFoundException
Public Sub New (
    message As String,
    paramName As String,
    gpoList As ICollection(Of Guid),
    innerException As Exception
)

Parameters

  • message
    Type: System.String

    The error message that describes the reason for the exception.

  • paramName
    Type: System.String

    The name of the parameter that caused the current exception.

  • innerException
    Type: System.Exception

    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.

See Also

MultipleGroupPolicyObjectsFoundException Overload
MultipleGroupPolicyObjectsFoundException Class
Microsoft.GroupPolicy Namespace

Return to top