Edit

Share via


InstanceCompleteException Constructors

Definition

Initializes an instance of the InstanceCompleteException class.

Overloads

InstanceCompleteException()

Initializes an instance of the InstanceCompleteException class.

InstanceCompleteException(String)

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

InstanceCompleteException(SerializationInfo, StreamingContext)

Initializes an instance of the InstanceCompleteException class with serialized data.

InstanceCompleteException(String, Exception)

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

InstanceCompleteException(XName, Guid)

Initializes an instance of the InstanceCompleteException class using the XName (the combination of namespace and name) of the command and the ID of the target instance against which the command was executed.

InstanceCompleteException(XName, Guid, Exception)

Initializes an instance of the InstanceCompleteException class using the XName (the combination of namespace and name) of the command, the ID of the target instance against which the command was executed, and the inner exception information passed as parameters.

InstanceCompleteException(XName, Guid, String, Exception)

Initializes an instance of the InstanceCompleteException class using the XName (the combination of namespace and name) of the command, the ID of the target instance against which the command was executed, error message that explains the reason for the exception, and the exception that caused the current exception.

InstanceCompleteException()

Initializes an instance of the InstanceCompleteException class.

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

Applies to

InstanceCompleteException(String)

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

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

Parameters

message
String

The reason for the exception.

Applies to

InstanceCompleteException(SerializationInfo, StreamingContext)

Initializes an instance of the InstanceCompleteException class with serialized data.

protected:
 InstanceCompleteException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
[System.Security.SecurityCritical]
protected InstanceCompleteException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
[<System.Security.SecurityCritical>]
new System.Runtime.DurableInstancing.InstanceCompleteException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Runtime.DurableInstancing.InstanceCompleteException
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

InstanceCompleteException(String, Exception)

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

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

Parameters

message
String

The reason for the exception.

innerException
Exception

The exception that causes the current exception.

Applies to

InstanceCompleteException(XName, Guid)

Initializes an instance of the InstanceCompleteException class using the XName (the combination of namespace and name) of the command and the ID of the target instance against which the command was executed.

public:
 InstanceCompleteException(System::Xml::Linq::XName ^ commandName, Guid instanceId);
public InstanceCompleteException (System.Xml.Linq.XName commandName, Guid instanceId);
new System.Runtime.DurableInstancing.InstanceCompleteException : System.Xml.Linq.XName * Guid -> System.Runtime.DurableInstancing.InstanceCompleteException
Public Sub New (commandName As XName, instanceId As Guid)

Parameters

commandName
XName

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

instanceId
Guid

The ID of the target instance against which the command was executed.

Applies to

InstanceCompleteException(XName, Guid, Exception)

Initializes an instance of the InstanceCompleteException class using the XName (the combination of namespace and name) of the command, the ID of the target instance against which the command was executed, and the inner exception information passed as parameters.

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

Parameters

commandName
XName

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

instanceId
Guid

The ID of the target instance against which the command was executed.

innerException
Exception

The exception that caused the current exception.

Applies to

InstanceCompleteException(XName, Guid, String, Exception)

Initializes an instance of the InstanceCompleteException class using the XName (the combination of namespace and name) of the command, the ID of the target instance against which the command was executed, error message that explains the reason for the exception, and the exception that caused the current exception.

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

Parameters

commandName
XName

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

instanceId
Guid

The ID of the target instance against which the command was executed.

message
String

The reason for the exception.

innerException
Exception

The exception that caused the current exception.

Applies to