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

Usage

Visual Basic
Dim userRoleId As Guid
Dim monitoringObjectId As Guid

Dim instance As New InvalidMonitoringObjectInUserRoleScopeException(userRoleId, monitoringObjectId)

Syntax

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

Parameters

userRoleId

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

monitoringObjectId

A GUID for the invalid monitoring object.

Platforms

Development Platforms

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

Target Platforms

Windows Server 2008,Windows Server 2003

See Also