InvalidGroupTypeException Constructor (Type, Type)
Initializes a new instance of the InvalidGroupTypeException class using the specified group type parameters.
Namespace: Microsoft.EnterpriseManagement.Common
Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)
Usage
'Usage
Dim expectedGroupType As Type
Dim receivedGroupType As Type
Dim instance As New InvalidGroupTypeException(expectedGroupType, receivedGroupType)
Syntax
'Declaration
Public Sub New ( _
expectedGroupType As Type, _
receivedGroupType As Type _
)
public InvalidGroupTypeException (
Type expectedGroupType,
Type receivedGroupType
)
public:
InvalidGroupTypeException (
Type^ expectedGroupType,
Type^ receivedGroupType
)
public InvalidGroupTypeException (
Type expectedGroupType,
Type receivedGroupType
)
public function InvalidGroupTypeException (
expectedGroupType : Type,
receivedGroupType : Type
)
Parameters
- expectedGroupType
The Type of the group that is expected.
- receivedGroupType
The invalid Type specified for the group.
Platforms
Development Platforms
Windows Vista, Windows Server 2003, and
Target Platforms
Windows Server 2008,Windows Server 2003
See Also
Reference
InvalidGroupTypeException Class
InvalidGroupTypeException Members
Microsoft.EnterpriseManagement.Common Namespace