Compartilhar via


UnauthorizedAccessEnterpriseManagementException Constructor (String, String, ICollection, Guid, Guid, Guid)

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Initializes a new instance of the UnauthorizedAccessEnterpriseManagementException class using the specified parameters.

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

Usage

'Usage
Dim user As String
Dim methodName As String
Dim operationNames As ICollection(Of String)
Dim objectId As Guid
Dim viewId As Guid
Dim taskId As Guid

Dim instance As New UnauthorizedAccessEnterpriseManagementException(user, methodName, operationNames, objectId, viewId, taskId)

Syntax

'Declaration
Public Sub New ( _
    user As String, _
    methodName As String, _
    operationNames As ICollection(Of String), _
    objectId As Guid, _
    viewId As Guid, _
    taskId As Guid _
)
public UnauthorizedAccessEnterpriseManagementException (
    string user,
    string methodName,
    ICollection<string> operationNames,
    Guid objectId,
    Guid viewId,
    Guid taskId
)
public:
UnauthorizedAccessEnterpriseManagementException (
    String^ user, 
    String^ methodName, 
    ICollection<String^>^ operationNames, 
    Guid objectId, 
    Guid viewId, 
    Guid taskId
)
public UnauthorizedAccessEnterpriseManagementException (
    String user, 
    String methodName, 
    ICollection<String> operationNames, 
    Guid objectId, 
    Guid viewId, 
    Guid taskId
)
public function UnauthorizedAccessEnterpriseManagementException (
    user : String, 
    methodName : String, 
    operationNames : ICollection<String>, 
    objectId : Guid, 
    viewId : Guid, 
    taskId : Guid
)

Parameters

  • user
    The name of the user who called the method.
  • methodName
    The name of the server-side method being checked for unauthorized access.
  • operationNames
    The operation names that failed the authorization check, if any. This value is null if not used.
  • objectId
    The GUID identifier of the authorization context object.
  • viewId
    The GUID identifier of the View, if any, or Guid.Empty to specify no View.
  • taskId
    The GUID identifier of the Task, if any, or Guid.Empty to specify no Task.

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

Windows Server 2008,Windows Server 2003

See Also

Reference

UnauthorizedAccessEnterpriseManagementException Class
UnauthorizedAccessEnterpriseManagementException Members
Microsoft.EnterpriseManagement.Common Namespace