[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]Initializes a new MonitoringClassInUserRoleScopeAlreadyExistsException object with monitoring class and user role identifiers. Namespace: Microsoft.EnterpriseManagement.Common
Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)

Usage

Visual Basic
Dim userRoleId As Guid
Dim monitoringClassId As Guid

Dim instance As New MonitoringClassInUserRoleScopeAlreadyExistsException(userRoleId, monitoringClassId)

Syntax

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

Parameters

userRoleId

A globally unique identifier (GUID) for the user role that the monitoring class already exists in.

monitoringClassId

A GUID for the monitoring class that already exists in the user role scope.

Platforms

Development Platforms

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

Target Platforms

Windows Server 2008,Windows Server 2003

See Also