Share via


ObjectInUserRoleScopeNotAllowedException Class

Definition

Represents the exception that is thrown because the object is not allowed in the user role scope. The profile associated with the user role does not allow the object to be specified.

public ref class ObjectInUserRoleScopeNotAllowedException : Microsoft::EnterpriseManagement::Common::MonitoringObjectInUserRoleScopeNotAllowedException
[System.Serializable]
public class ObjectInUserRoleScopeNotAllowedException : Microsoft.EnterpriseManagement.Common.MonitoringObjectInUserRoleScopeNotAllowedException
type ObjectInUserRoleScopeNotAllowedException = class
    inherit MonitoringObjectInUserRoleScopeNotAllowedException
Public Class ObjectInUserRoleScopeNotAllowedException
Inherits MonitoringObjectInUserRoleScopeNotAllowedException
Inheritance
Attributes

Constructors

ObjectInUserRoleScopeNotAllowedException()

Initializes a new instance of the ObjectInUserRoleScopeNotAllowedException class.

ObjectInUserRoleScopeNotAllowedException(Exception)

Initializes a new instance of the ObjectInUserRoleScopeNotAllowedException class using a reference to the inner exception that is the cause of this exception.

ObjectInUserRoleScopeNotAllowedException(Guid)

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

ObjectInUserRoleScopeNotAllowedException(SerializationInfo, StreamingContext)

Initializes a new instance of the ObjectInUserRoleScopeNotAllowedException class using serialized data.

ObjectInUserRoleScopeNotAllowedException(String, Exception)

Initializes a new instance of the ObjectInUserRoleScopeNotAllowedException class using the specified message and a reference to the inner exception that is the cause of this exception.

ObjectInUserRoleScopeNotAllowedException(String)

Initializes a new instance of the ObjectInUserRoleScopeNotAllowedException class using the specified error message.

Properties

UserRoleId

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

(Inherited from MonitoringObjectInUserRoleScopeNotAllowedException)

Methods

GetObjectData(SerializationInfo, StreamingContext)

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

(Inherited from MonitoringObjectInUserRoleScopeNotAllowedException)

Applies to