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

Usage

Visual Basic
Dim userRoleId As Guid

Dim instance As New MonitoringTaskInUserRoleScopeNotAllowedException(userRoleId)

Syntax

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

Parameters

userRoleId

A globally unique identifier (GUID) for the user role that the monitoring task is not allowed in.

Platforms

Development Platforms

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

Target Platforms

Windows Server 2008,Windows Server 2003

See Also