Language
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Initializes a new instance of the MultipleGroupPolicyObjectsFoundException class with the name of the parameter that causes this exception, the list of Group Policy objects (GPOs) that have the same display name, the display name, and the domain name.
Namespace: Microsoft.GroupPolicy
Assembly: Microsoft.GroupPolicy.Management (in Microsoft.GroupPolicy.Management.dll)
Syntax
public MultipleGroupPolicyObjectsFoundException(
string paramName,
ICollection<Guid> gpoList,
string gpoDisplayName,
string domainName
)
public:
MultipleGroupPolicyObjectsFoundException(
String^ paramName,
ICollection<Guid>^ gpoList,
String^ gpoDisplayName,
String^ domainName
)
new :
paramName:string *
gpoList:ICollection<Guid> *
gpoDisplayName:string *
domainName:string -> MultipleGroupPolicyObjectsFoundException
Public Sub New (
paramName As String,
gpoList As ICollection(Of Guid),
gpoDisplayName As String,
domainName As String
)
Parameters
paramName
Type: System.StringThe name of the parameter that caused the current exception.
gpoList
Type: System.Collections.Generic.ICollection<Guid>A collection that contains the GUIDs of the GPOs that have the same display name.
gpoDisplayName
Type: System.StringThe display name that the GPOs have.
domainName
Type: System.StringThe domain in which the GPO’s exist.
Remarks
This constructor initializes the Message property of the new instance to a message that provides the display name of the GPOs and the name of the domain in which they exist. This message takes into account the current system culture.
See Also
MultipleGroupPolicyObjectsFoundException Overload
MultipleGroupPolicyObjectsFoundException Class
Microsoft.GroupPolicy Namespace
Return to top