MultipleGroupPolicyObjectsFoundException Constructor (String, String, Generic ICollection)
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)
Usage
Dim message As String
Dim paramName As String
Dim gpoList As ICollection(Of Guid)
Dim instance As New MultipleGroupPolicyObjectsFoundException(message, paramName, gpoList)
Syntax
'Declaration
<SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId:="param")> _
Public Sub New ( _
message As String, _
paramName As String, _
gpoList As ICollection(Of Guid) _
)
[SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId="param")]
public MultipleGroupPolicyObjectsFoundException (
string message,
string paramName,
ICollection<Guid> gpoList
)
[SuppressMessageAttribute(L"Microsoft.Naming", L"CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId=L"param")]
public:
MultipleGroupPolicyObjectsFoundException (
String^ message,
String^ paramName,
ICollection<Guid>^ gpoList
)
/** @attribute SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId="param") */
public MultipleGroupPolicyObjectsFoundException (
String message,
String paramName,
ICollection<Guid> gpoList
)
SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId="param")
public function MultipleGroupPolicyObjectsFoundException (
message : String,
paramName : String,
gpoList : ICollection<Guid>
)
Parameters
- message
The error message that describes the reason for the exception.
- paramName
The name of the parameter that caused the current exception.
- gpoList
A collection that contains the GUIDs of the GPOs that have the same display name.
Platforms
Development Platforms
Windows Server 2008 R2
Target Platforms
Windows Server 2008 R2
See Also
Reference
MultipleGroupPolicyObjectsFoundException Class
MultipleGroupPolicyObjectsFoundException Members
Microsoft.GroupPolicy Namespace