SaaS CMS has officially launched! Learn more now.

Class DisabledApprovalDefinitionException

Exception that is thrown when an ApprovalDefinition is disabled.

Inheritance
System.Object
DisabledApprovalDefinitionException
Namespace: EPiServer.Approvals
Assembly: EPiServer.dll
Version: 12.0.3
Syntax
public class DisabledApprovalDefinitionException : InvalidOperationException

Constructors

DisabledApprovalDefinitionException()

Initializes a new instance of the DisabledApprovalDefinitionException class.

Declaration
public DisabledApprovalDefinitionException()

DisabledApprovalDefinitionException(SerializationInfo, StreamingContext)

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

Declaration
protected DisabledApprovalDefinitionException(SerializationInfo info, StreamingContext context)
Parameters
Type Name Description
System.Runtime.Serialization.SerializationInfo info

The object that holds the serialized object data.

System.Runtime.Serialization.StreamingContext context

The contextual information about the source or destination.

DisabledApprovalDefinitionException(String)

Initializes a new instance of the DisabledApprovalDefinitionException class.

Declaration
public DisabledApprovalDefinitionException(string message)
Parameters
Type Name Description
System.String message

The message.

DisabledApprovalDefinitionException(String, Exception)

Initializes the new instance of DisabledApprovalDefinitionException

Declaration
public DisabledApprovalDefinitionException(string message, Exception innerException)
Parameters
Type Name Description
System.String message

The error message that explains the reason for the exception.

System.Exception innerException

The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.

Extension Methods