PersistenceException PersistenceException PersistenceException PersistenceException Constructors

Definition

Overloads

PersistenceException() PersistenceException() PersistenceException()

Initializes a new instance of the PersistenceException class.

PersistenceException(String) PersistenceException(String) PersistenceException(String) PersistenceException(String)

Initializes a new instance of the PersistenceException class by using the specified message.

PersistenceException(SerializationInfo, StreamingContext) PersistenceException(SerializationInfo, StreamingContext) PersistenceException(SerializationInfo, StreamingContext) PersistenceException(SerializationInfo, StreamingContext)

Initializes a new instance of the PersistenceException class by using the specified SerializationInfo and the specified StreamingContext.

PersistenceException(String, Exception) PersistenceException(String, Exception) PersistenceException(String, Exception) PersistenceException(String, Exception)

Initializes a new instance of the PersistenceException by using the specified message and Exception.

PersistenceException() PersistenceException() PersistenceException()

Initializes a new instance of the PersistenceException class.

public:
 PersistenceException();
public PersistenceException ();
Public Sub New ()

PersistenceException(String) PersistenceException(String) PersistenceException(String) PersistenceException(String)

Initializes a new instance of the PersistenceException class by using the specified message.

public:
 PersistenceException(System::String ^ message);
public PersistenceException (string message);
new System.Workflow.Runtime.Hosting.PersistenceException : string -> System.Workflow.Runtime.Hosting.PersistenceException
Public Sub New (message As String)

Parameters

message
String String String String

A description of the cause of the exception.

PersistenceException(SerializationInfo, StreamingContext) PersistenceException(SerializationInfo, StreamingContext) PersistenceException(SerializationInfo, StreamingContext) PersistenceException(SerializationInfo, StreamingContext)

Initializes a new instance of the PersistenceException class by using the specified SerializationInfo and the specified StreamingContext.

protected:
 PersistenceException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected PersistenceException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.Workflow.Runtime.Hosting.PersistenceException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Workflow.Runtime.Hosting.PersistenceException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

context
StreamingContext StreamingContext StreamingContext StreamingContext

A StreamingContext that holds contextual information about the source or destination.

Remarks

This constructor is called during deserialization to reconstitute the exception object transmitted over a stream. For more information, see XML and SOAP Serialization.

PersistenceException(String, Exception) PersistenceException(String, Exception) PersistenceException(String, Exception) PersistenceException(String, Exception)

Initializes a new instance of the PersistenceException by using the specified message and Exception.

public:
 PersistenceException(System::String ^ message, Exception ^ innerException);
public PersistenceException (string message, Exception innerException);
new System.Workflow.Runtime.Hosting.PersistenceException : string * Exception -> System.Workflow.Runtime.Hosting.PersistenceException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String String String String

A description of the cause of the exception.

innerException
Exception Exception Exception Exception

The exception that caused the PersistenceException to be thrown.

Applies to