[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]Initializes a new InvalidMonitoringTaskInUserRoleScopeException object with monitoring task 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 taskId As Guid

Dim instance As New InvalidMonitoringTaskInUserRoleScopeException(userRoleId, taskId)

Syntax

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

Parameters

userRoleId

A globally unique identifier (GUID) for the user role identifier that caused the exception to be thrown.

taskId

The GUID for the monitoring task that caused the exception to be thrown.

Platforms

Development Platforms

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

Target Platforms

Windows Server 2008,Windows Server 2003

See Also