Initializes a new MonitoringViewInUserRoleScopeAlreadyExistsException object with monitoring view and user role identifiers. Namespace: Microsoft.EnterpriseManagement.Common
Assembly: Microsoft.EnterpriseManagement.OperationsManager.Common (in microsoft.enterprisemanagement.operationsmanager.common.dll)

Usage

Visual Basic
Dim userRoleId As Guid
Dim viewId As Guid

Dim instance As New MonitoringViewInUserRoleScopeAlreadyExistsException(userRoleId, viewId)

Syntax

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

Parameters

userRoleId

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

viewId

A GUID for the monitoring view 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,Windows Vista,Windows XP

See Also

[an error occurred while processing this directive]