Share via


ConsoleTaskInUserRoleScopeNotAllowedException Class

Definition

Represents the exception that is thrown when a console task is not allowed to be added to a user role scope.

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

Constructors

ConsoleTaskInUserRoleScopeNotAllowedException()

Initializes a new instance of the ConsoleTaskInUserRoleScopeNotAllowedException class with default values.

ConsoleTaskInUserRoleScopeNotAllowedException(Exception)

Initializes a new instance of the ConsoleTaskInUserRoleScopeNotAllowedException class by specifying an inner exception that caused the current exception.

ConsoleTaskInUserRoleScopeNotAllowedException(Guid)

Initializes a new instance of the ConsoleTaskInUserRoleScopeNotAllowedException class with reference to the user role.

ConsoleTaskInUserRoleScopeNotAllowedException(SerializationInfo, StreamingContext)

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

ConsoleTaskInUserRoleScopeNotAllowedException(String)

Initializes a new instance of the ConsoleTaskInUserRoleScopeNotAllowedException class by specifying the error message that describes the current exception.

ConsoleTaskInUserRoleScopeNotAllowedException(String, Exception)

Initializes a new instance of the ConsoleTaskInUserRoleScopeNotAllowedException class with an error message and inner exception.

Properties

UserRoleId

Gets the console task identifier that already exists in the user role.

Methods

GetObjectData(SerializationInfo, StreamingContext)

Sets the SerializationInfo object with information about the exception.

Applies to