[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]Creates a new instance of the ClassInUserRoleScopeAlreadyExistsException class with reference to the user role that already exists and the monitoring class that already contains it. Namespace: Microsoft.EnterpriseManagement.Common
Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)

Usage

Visual Basic
Dim userRoleId As Guid
Dim classId As Guid

Dim instance As New ClassInUserRoleScopeAlreadyExistsException(userRoleId, classId)

Syntax

Visual Basic
Public Sub New ( _
		userRoleId As Guid, _
		classId As Guid _
)
C#
public ClassInUserRoleScopeAlreadyExistsException (
		Guid userRoleId,
		Guid classId
)
C++
public:
ClassInUserRoleScopeAlreadyExistsException (
		Guid userRoleId, 
		Guid classId
)
J#
public ClassInUserRoleScopeAlreadyExistsException (
		Guid userRoleId, 
		Guid classId
)
JScript
public function ClassInUserRoleScopeAlreadyExistsException (
		userRoleId : Guid, 
		classId : Guid
)

Parameters

userRoleId

The unique identifier of the user role.

classId

The unique identifier of the class.

Platforms

Development Platforms

Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003

See Also