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 a specified error message and a 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,
ICollection<Guid> gpoList
)
public:
MultipleGroupPolicyObjectsFoundException(
String^ message,
ICollection<Guid>^ gpoList
)
new :
message:string *
gpoList:ICollection<Guid> -> MultipleGroupPolicyObjectsFoundException
Public Sub New (
message As String,
gpoList As ICollection(Of Guid)
)
Parameters
message
Type: System.StringThe error message that describes the reason for the exception.
gpoList
Type: System.Collections.Generic.ICollection<Guid>A collection that contains the GUIDs of the GPOs that have the same display name.
Remarks
This constructor initializes the Message property of the new instance to a system-supplied message that describes the error. This message takes into account the current system culture.
You can use the GetGpoList method to retrieve the list of GPOs that caused the exception.
See Also
MultipleGroupPolicyObjectsFoundException Overload
MultipleGroupPolicyObjectsFoundException Class
Microsoft.GroupPolicy Namespace
Return to top