Partager via


UnauthorizedAccessMonitoringException 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 UnauthorizedAccessMonitoringException object.

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 UnauthorizedAccessMonitoringException(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 UnauthorizedAccessMonitoringException (
    string user,
    string methodName,
    ICollection<string> operationNames,
    Guid objectId,
    Guid viewId,
    Guid taskId
)
public:
UnauthorizedAccessMonitoringException (
    String^ user, 
    String^ methodName, 
    ICollection<String^>^ operationNames, 
    Guid objectId, 
    Guid viewId, 
    Guid taskId
)
public UnauthorizedAccessMonitoringException (
    String user, 
    String methodName, 
    ICollection<String> operationNames, 
    Guid objectId, 
    Guid viewId, 
    Guid taskId
)
public function UnauthorizedAccessMonitoringException (
    user : String, 
    methodName : String, 
    operationNames : ICollection<String>, 
    objectId : Guid, 
    viewId : Guid, 
    taskId : Guid
)

Parameters

  • user
    The name of the user who called the method that raised the exception.
  • methodName
    The name of the method that access is being checked for.
  • operationNames
    The operation names that failed the access check.
  • objectId
    A globally unique identifier (GUID) for the object that failed the access check.
  • viewId
    A globally unique identifier (GUID) for the view that failed the access check.
  • taskId
    A globally unique identifier (GUID) for the task that failed the access check.

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

Windows Server 2008,Windows Server 2003

See Also

Reference

UnauthorizedAccessMonitoringException Class
UnauthorizedAccessMonitoringException Members
Microsoft.EnterpriseManagement.Common Namespace