November Happy Hour will be moved to Thursday December 5th.

Class ApprovalFormatException

Exception that is thrown when an Approval has an invalid format.

Inheritance
System.Object
System.Exception
System.SystemException
System.ArgumentException
ApprovalFormatException
Implements
System.Runtime.InteropServices._Exception
System.Runtime.Serialization.ISerializable
Inherited Members
System.ArgumentException.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.ArgumentException.Message
System.ArgumentException.ParamName
System.Exception.GetBaseException()
System.Exception.ToString()
System.Exception.GetType()
System.Exception.Data
System.Exception.InnerException
System.Exception.TargetSite
System.Exception.StackTrace
System.Exception.HelpLink
System.Exception.Source
System.Exception.HResult
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
Namespace: EPiServer.Approvals
Assembly: EPiServer.dll
Version: 11.20.7
Syntax
public class ApprovalFormatException : ArgumentException, _Exception, ISerializable

Constructors

ApprovalFormatException()

Initializes a new instance of the ApprovalFormatException class.

Declaration
public ApprovalFormatException()

ApprovalFormatException(SerializationInfo, StreamingContext)

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

Declaration
protected ApprovalFormatException(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.

ApprovalFormatException(String)

Initializes a new instance of the ApprovalFormatException class.

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

The message.

ApprovalFormatException(String, Exception)

Initializes the new instance of ApprovalFormatException

Declaration
public ApprovalFormatException(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.

ApprovalFormatException(String, String)

Initializes a new instance of the ApprovalFormatException class.

Declaration
public ApprovalFormatException(string message, string paramName)
Parameters
Type Name Description
System.String message

The message.

System.String paramName

The name of the parameter.

ApprovalFormatException(String, String, Exception)

Initializes the new instance of ApprovalFormatException

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

The error message that explains the reason for the exception.

System.String paramName

The name of the parameter.

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.

Implements

System.Runtime.InteropServices._Exception
System.Runtime.Serialization.ISerializable

Extension Methods