Compartilhar via


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

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 monitoringObjectId As Guid
Dim monitoringViewId As Guid
Dim monitoringTaskId As Guid
Dim monitoringClassId As Guid

Dim instance As New UnauthorizedAccessEnterpriseManagementException(user, methodName, operationNames, monitoringObjectId, monitoringViewId, monitoringTaskId, monitoringClassId)

Syntax

'Declaration
Public Sub New ( _
    user As String, _
    methodName As String, _
    operationNames As ICollection(Of String), _
    monitoringObjectId As Guid, _
    monitoringViewId As Guid, _
    monitoringTaskId As Guid, _
    monitoringClassId As Guid _
)
public UnauthorizedAccessEnterpriseManagementException (
    string user,
    string methodName,
    ICollection<string> operationNames,
    Guid monitoringObjectId,
    Guid monitoringViewId,
    Guid monitoringTaskId,
    Guid monitoringClassId
)
public:
UnauthorizedAccessEnterpriseManagementException (
    String^ user, 
    String^ methodName, 
    ICollection<String^>^ operationNames, 
    Guid monitoringObjectId, 
    Guid monitoringViewId, 
    Guid monitoringTaskId, 
    Guid monitoringClassId
)
public UnauthorizedAccessEnterpriseManagementException (
    String user, 
    String methodName, 
    ICollection<String> operationNames, 
    Guid monitoringObjectId, 
    Guid monitoringViewId, 
    Guid monitoringTaskId, 
    Guid monitoringClassId
)
public function UnauthorizedAccessEnterpriseManagementException (
    user : String, 
    methodName : String, 
    operationNames : ICollection<String>, 
    monitoringObjectId : Guid, 
    monitoringViewId : Guid, 
    monitoringTaskId : Guid, 
    monitoringClassId : 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.
  • monitoringObjectId
    The GUID identifier of the authorization context object.
  • monitoringViewId
    The GUID identifier of the View, if any, or Guid.Empty to specify no View.
  • monitoringTaskId
    The GUID identifier of the Task, if any, or Guid.Empty to specify no Task.
  • monitoringClassId
    The GUID identifier of the Class, if any, or Guid.Empty to specify no Class.

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