InstancePersistenceException Constructors

Definition

Initializes an instance of the InstancePersistenceException class.

Overloads

InstancePersistenceException()

Initializes an instance of the InstancePersistenceException class.

InstancePersistenceException(String)

Initializes an instance of the InstancePersistenceException class using the error message.

InstancePersistenceException(XName)

Initializes an instance of the InstancePersistenceException class using the name of the command.

InstancePersistenceException(SerializationInfo, StreamingContext)

Initializes an instance of the InstancePersistenceException class using the serialized information and the context information.

InstancePersistenceException(String, Exception)

Initializes an instance of the InstancePersistenceException class using the error message and inner exception information.

InstancePersistenceException(XName, Exception)

Initializes an instance of the InstancePersistenceException class by using the name of the command and the inner exception information.

InstancePersistenceException(XName, String)

Initializes an instance of the InstancePersistenceException class using the name of the command and the error message.

InstancePersistenceException(XName, String, Exception)

Initializes an instance of the InstancePersistenceException class using the name of the command, error message, and inner exception information.

InstancePersistenceException()

Initializes an instance of the InstancePersistenceException class.

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

Applies to

InstancePersistenceException(String)

Initializes an instance of the InstancePersistenceException class using the error message.

public:
 InstancePersistenceException(System::String ^ message);
public InstancePersistenceException (string message);
new System.Runtime.DurableInstancing.InstancePersistenceException : string -> System.Runtime.DurableInstancing.InstancePersistenceException
Public Sub New (message As String)

Parameters

message
String

Error message that describes the current exception.

Applies to

InstancePersistenceException(XName)

Initializes an instance of the InstancePersistenceException class using the name of the command.

public:
 InstancePersistenceException(System::Xml::Linq::XName ^ commandName);
public InstancePersistenceException (System.Xml.Linq.XName commandName);
new System.Runtime.DurableInstancing.InstancePersistenceException : System.Xml.Linq.XName -> System.Runtime.DurableInstancing.InstancePersistenceException
Public Sub New (commandName As XName)

Parameters

commandName
XName

The XName (the combination of namespace and name) of the command.

Applies to

InstancePersistenceException(SerializationInfo, StreamingContext)

Initializes an instance of the InstancePersistenceException class using the serialized information and the context information.

protected:
 InstancePersistenceException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
[System.Security.SecurityCritical]
protected InstancePersistenceException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
[<System.Security.SecurityCritical>]
new System.Runtime.DurableInstancing.InstancePersistenceException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Runtime.DurableInstancing.InstancePersistenceException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo

The information about the current exception.

context
StreamingContext

The contextual information about the source or destination.

Attributes

Applies to

InstancePersistenceException(String, Exception)

Initializes an instance of the InstancePersistenceException class using the error message and inner exception information.

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

Parameters

message
String

The reason for the current exception.

innerException
Exception

The exception that causes the current exception.

Applies to

InstancePersistenceException(XName, Exception)

Initializes an instance of the InstancePersistenceException class by using the name of the command and the inner exception information.

public:
 InstancePersistenceException(System::Xml::Linq::XName ^ commandName, Exception ^ innerException);
public InstancePersistenceException (System.Xml.Linq.XName commandName, Exception innerException);
new System.Runtime.DurableInstancing.InstancePersistenceException : System.Xml.Linq.XName * Exception -> System.Runtime.DurableInstancing.InstancePersistenceException
Public Sub New (commandName As XName, innerException As Exception)

Parameters

commandName
XName

The XName (the combination of namespace and name) of the command.

innerException
Exception

The exception that caused the current exception.

Applies to

InstancePersistenceException(XName, String)

Initializes an instance of the InstancePersistenceException class using the name of the command and the error message.

public:
 InstancePersistenceException(System::Xml::Linq::XName ^ commandName, System::String ^ message);
public InstancePersistenceException (System.Xml.Linq.XName commandName, string message);
new System.Runtime.DurableInstancing.InstancePersistenceException : System.Xml.Linq.XName * string -> System.Runtime.DurableInstancing.InstancePersistenceException
Public Sub New (commandName As XName, message As String)

Parameters

commandName
XName

The XName (the combination of namespace and name) of the command.

message
String

The error message that describes the exception.

Applies to

InstancePersistenceException(XName, String, Exception)

Initializes an instance of the InstancePersistenceException class using the name of the command, error message, and inner exception information.

public:
 InstancePersistenceException(System::Xml::Linq::XName ^ commandName, System::String ^ message, Exception ^ innerException);
public InstancePersistenceException (System.Xml.Linq.XName commandName, string message, Exception innerException);
new System.Runtime.DurableInstancing.InstancePersistenceException : System.Xml.Linq.XName * string * Exception -> System.Runtime.DurableInstancing.InstancePersistenceException
Public Sub New (commandName As XName, message As String, innerException As Exception)

Parameters

commandName
XName

The XName (the combination of namespace and name) of the command.

message
String

The error message that describes the exception.

innerException
Exception

The exception that caused the current exception.

Applies to