Language

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

 

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

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

Syntax

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

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.

See Also

MultipleGroupPolicyObjectsFoundException Overload
MultipleGroupPolicyObjectsFoundException Class
Microsoft.GroupPolicy Namespace

Return to top