Compartilhar via


InvalidObjectInUserRoleScopeException Constructor (Guid, Guid)

Initializes a new instance of the InvalidObjectInUserRoleScopeException 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 InvalidObjectInUserRoleScopeException(userRoleId, objectId)

Syntax

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

Parameters

  • userRoleId
    The GUID for the user role.
  • objectId
    The GUID for the object that is invalid for the user role.

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

Windows Server 2008,Windows Server 2003

See Also

Reference

InvalidObjectInUserRoleScopeException Class
InvalidObjectInUserRoleScopeException Members
Microsoft.EnterpriseManagement.Common Namespace