Share via


ViewInUserRoleScopeNotAllowedException Class

Definition

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

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

Constructors

ViewInUserRoleScopeNotAllowedException()

Initializes a new instance of the ViewInUserRoleScopeNotAllowedException class.

ViewInUserRoleScopeNotAllowedException(Exception)

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

ViewInUserRoleScopeNotAllowedException(Guid)

Initializes a new instance of the ViewInUserRoleScopeNotAllowedException class with the specified user role identifier.

ViewInUserRoleScopeNotAllowedException(SerializationInfo, StreamingContext)

Initializes a new instance of the ViewInUserRoleScopeNotAllowedException class with serialized data.

ViewInUserRoleScopeNotAllowedException(String)

Initializes a new instance of the ViewInUserRoleScopeNotAllowedException class with the specified message.

ViewInUserRoleScopeNotAllowedException(String, Exception)

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

Properties

UserRoleId

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

(Inherited from MonitoringViewInUserRoleScopeNotAllowedException)

Methods

GetObjectData(SerializationInfo, StreamingContext)

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

(Inherited from MonitoringViewInUserRoleScopeNotAllowedException)

Applies to