次の方法で共有


ObjectInUserRoleScopeAlreadyExistsException Constructor (Guid, Guid)

Initializes a new instance of the ObjectInUserRoleScopeAlreadyExistsException class using the specified user role and object identifier parameters.

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

Usage

'Usage
Dim userRoleId As Guid
Dim objectId As Guid

Dim instance As New ObjectInUserRoleScopeAlreadyExistsException(userRoleId, objectId)

Syntax

'Declaration
Public Sub New ( _
    userRoleId As Guid, _
    objectId As Guid _
)
public ObjectInUserRoleScopeAlreadyExistsException (
    Guid userRoleId,
    Guid objectId
)
public:
ObjectInUserRoleScopeAlreadyExistsException (
    Guid userRoleId, 
    Guid objectId
)
public ObjectInUserRoleScopeAlreadyExistsException (
    Guid userRoleId, 
    Guid objectId
)
public function ObjectInUserRoleScopeAlreadyExistsException (
    userRoleId : Guid, 
    objectId : Guid
)

Parameters

  • userRoleId
    The GUID for the user role.
  • objectId
    The GUID for the duplicate object.

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

Windows Server 2008,Windows Server 2003

See Also

Reference

ObjectInUserRoleScopeAlreadyExistsException Class
ObjectInUserRoleScopeAlreadyExistsException Members
Microsoft.EnterpriseManagement.Common Namespace