Share via


MonitoringViewInUserRoleScopeNotAllowedException Class

Definition

Caution

Use ViewInUserRoleScopeNotAllowedException

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

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

Constructors

MonitoringViewInUserRoleScopeNotAllowedException()

Initializes a new MonitoringViewInUserRoleScopeNotAllowedException object.

MonitoringViewInUserRoleScopeNotAllowedException(Exception)

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

MonitoringViewInUserRoleScopeNotAllowedException(Guid)

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

MonitoringViewInUserRoleScopeNotAllowedException(SerializationInfo, StreamingContext)

Initializes a new MonitoringViewInUserRoleScopeNotAllowedException object with serialized data.

MonitoringViewInUserRoleScopeNotAllowedException(String)

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

MonitoringViewInUserRoleScopeNotAllowedException(String, Exception)

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

MonitoringViewInUserRoleScopeNotAllowedException(ViewInUserRoleScopeNotAllowedException)

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

Properties

UserRoleId

Gets the identifier of the User Role with the scope that the View is not allowed in.

Methods

GetObjectData(SerializationInfo, StreamingContext)

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

Applies to