Partilhar via


CreateSystemUserRoleNotAllowedException Constructor (Guid)

Initializes a new instance of the CreateSystemUserRoleNotAllowedException class by specifying the user role that caused the error.

Namespace: Microsoft.EnterpriseManagement.Common
Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)

Usage

'Usage
Dim userRoleId As Guid

Dim instance As New CreateSystemUserRoleNotAllowedException(userRoleId)

Syntax

'Declaration
Public Sub New ( _
    userRoleId As Guid _
)
public CreateSystemUserRoleNotAllowedException (
    Guid userRoleId
)
public:
CreateSystemUserRoleNotAllowedException (
    Guid userRoleId
)
public CreateSystemUserRoleNotAllowedException (
    Guid userRoleId
)
public function CreateSystemUserRoleNotAllowedException (
    userRoleId : Guid
)

Parameters

  • userRoleId
    The user role that caused the error.

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

Windows Server 2008,Windows Server 2003

See Also

Reference

CreateSystemUserRoleNotAllowedException Class
CreateSystemUserRoleNotAllowedException Members
Microsoft.EnterpriseManagement.Common Namespace