[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]Initializes a new InvalidMonitoringClassInUserRoleScopeException object with a user role identifier and a monitoring class identifier. 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 InvalidMonitoringClassInUserRoleScopeException(userRoleId, monitoringClassId)

Syntax

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

Parameters

userRoleId

A globally unique identifier (GUID) for the user role that the invalid monitoring class is in the scope of.

monitoringClassId

A GUID for the invalid monitoring 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