Initializes a new CreateSystemUserRoleNotAllowedException object by specifying the user role that caused the error. Namespace: Microsoft.EnterpriseManagement.Common
Assembly: Microsoft.EnterpriseManagement.OperationsManager.Common (in microsoft.enterprisemanagement.operationsmanager.common.dll)

Usage

Visual Basic
Dim userRoleId As Guid

Dim instance As New CreateSystemUserRoleNotAllowedException(userRoleId)

Syntax

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

Parameters

userRoleId

The user role that caused the error.

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