Share via


UnauthorizedAccessMonitoringException Class

Definition

Represents the exception that is thrown when an authorization manager unauthorized access error occurs.

public ref class UnauthorizedAccessMonitoringException : Microsoft::EnterpriseManagement::Common::EnterpriseManagementException
[System.Runtime.Serialization.KnownType(typeof(System.Data.SqlClient.SqlError))]
[System.Runtime.Serialization.KnownType(typeof(System.String[]))]
[System.Runtime.Serialization.KnownType(typeof(Microsoft.EnterpriseManagement.Common.UnknownDatabaseException))]
[System.Serializable]
public class UnauthorizedAccessMonitoringException : Microsoft.EnterpriseManagement.Common.EnterpriseManagementException
type UnauthorizedAccessMonitoringException = class
    inherit EnterpriseManagementException
Public Class UnauthorizedAccessMonitoringException
Inherits EnterpriseManagementException
Inheritance
UnauthorizedAccessMonitoringException
Derived
Attributes

Constructors

UnauthorizedAccessMonitoringException()

Initializes a new UnauthorizedAccessMonitoringException object.

UnauthorizedAccessMonitoringException(Exception)

Initializes a new UnauthorizedAccessMonitoringException object with the inner exception that caused the current exception.

UnauthorizedAccessMonitoringException(SerializationInfo, StreamingContext)

Initializes a new UnauthorizedAccessMonitoringException object with serialized data.

UnauthorizedAccessMonitoringException(String)

Initializes a new UnauthorizedAccessMonitoringException object by specifying the error message that describes the current exception.

UnauthorizedAccessMonitoringException(String, Exception)

Initializes a new UnauthorizedAccessMonitoringException object with an error message and an inner exception.

UnauthorizedAccessMonitoringException(String, ICollection<String>, Guid, Guid, Guid, Guid)

Initializes a new UnauthorizedAccessMonitoringException object with various objects that failed the access check.

UnauthorizedAccessMonitoringException(String, String, ICollection<String>, Guid, Guid, Guid)

Initializes a new UnauthorizedAccessMonitoringException object.

UnauthorizedAccessMonitoringException(String, String, ICollection<String>, Guid, Guid, Guid, Guid)

Initializes a new UnauthorizedAccessMonitoringException object with the name of the user who called the method that raised the execution.

UnauthorizedAccessMonitoringException(UnauthorizedAccessEnterpriseManagementException)

Initializes a new instance of the UnauthorizedAccessMonitoringException class by copying values from the specified exception.

Properties

ClassId

Gets the Class identifier that caused the exception.

MethodName

Gets the name of the invoked method that caused the exception.

MonitoringClassId
Obsolete.

Gets a globally unique identifier (GUID) for the monitoring class that failed the access check.

MonitoringObjectId
Obsolete.

Gets a globally unique identifier (GUID) for the monitoring object that failed the access check.

MonitoringTaskId
Obsolete.

Gets a globally unique identifier (GUID) for the monitoring task that failed the access check.

MonitoringViewId
Obsolete.

Gets a globally unique identifier (GUID) for the monitoring view that failed the access check.

ObjectId

Gets the identifier of the Object that caused the exception.

OperationNames

Gets the collection of Operation names specified for the exception.

TaskId

Gets the Task identifier of the Task that caused the exception.

User

Gets the user name of the credentials that caused the exception.

ViewId

Gets the View identifier of the View that caused the exception.

Methods

GetObjectData(SerializationInfo, StreamingContext)

Sets the parameters required to serialize this instance of the UnauthorizedAccessMonitoringException class.

Applies to