Share via


MonitoringObjectInUserRoleScopeNotAllowedException Class

Definition

Caution

Use ObjectInUserRoleScopeNotAllowedException

Represents the exception that is thrown because the monitoring Object is not allowed in the User Role scope. The profile associated with the User Role does not allow the monitoring Object to be specified.

public ref class MonitoringObjectInUserRoleScopeNotAllowedException : Microsoft::EnterpriseManagement::Common::EnterpriseManagementException
[System.Obsolete("Use ObjectInUserRoleScopeNotAllowedException")]
[System.Serializable]
public class MonitoringObjectInUserRoleScopeNotAllowedException : Microsoft.EnterpriseManagement.Common.EnterpriseManagementException
type MonitoringObjectInUserRoleScopeNotAllowedException = class
    inherit EnterpriseManagementException
Public Class MonitoringObjectInUserRoleScopeNotAllowedException
Inherits EnterpriseManagementException
Inheritance
MonitoringObjectInUserRoleScopeNotAllowedException
Derived
Attributes

Constructors

MonitoringObjectInUserRoleScopeNotAllowedException()

Initializes a new MonitoringObjectInUserRoleScopeNotAllowedException object.

MonitoringObjectInUserRoleScopeNotAllowedException(Exception)

Initializes a new MonitoringObjectInUserRoleScopeNotAllowedException object by specifying an inner exception that caused the current exception.

MonitoringObjectInUserRoleScopeNotAllowedException(Guid)

Initializes a new MonitoringObjectInUserRoleScopeNotAllowedException object by specifying a User Role identifier.

MonitoringObjectInUserRoleScopeNotAllowedException(ObjectInUserRoleScopeNotAllowedException)

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

MonitoringObjectInUserRoleScopeNotAllowedException(SerializationInfo, StreamingContext)

Initializes a new MonitoringObjectInUserRoleScopeNotAllowedException object with serialized data.

MonitoringObjectInUserRoleScopeNotAllowedException(String)

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

MonitoringObjectInUserRoleScopeNotAllowedException(String, Exception)

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

Properties

UserRoleId

Gets the identifier of the User Role that has the Object in its scope that caused the exception.

Methods

GetObjectData(SerializationInfo, StreamingContext)

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

Applies to