Edit

Share via


InstanceKeyNotReadyException Constructors

Definition

Initializes an instance of the InstanceKeyNotReadyException class.

Overloads

InstanceKeyNotReadyException()

Initializes an instance of the InstanceKeyNotReadyException class.

InstanceKeyNotReadyException(String)

Initializes an instance of the InstanceKeyNotReadyException class by using the error message.

InstanceKeyNotReadyException(SerializationInfo, StreamingContext)

Initializes an instance of the InstanceKeyNotReadyException class with the serialized data.

InstanceKeyNotReadyException(String, Exception)

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

InstanceKeyNotReadyException(XName, InstanceKey)

Initializes an instance of the InstanceKeyNotReadyException class using the name of the command and the instance key information.

InstanceKeyNotReadyException(XName, InstanceKey, Exception)

Initializes an instance of the InstanceKeyNotReadyException class using the name of the command, the instance key information, and the inner exception (the exception that caused the current exception) passed as parameters.

InstanceKeyNotReadyException(XName, Guid, InstanceKey, String, Exception)

Initializes an instance of the InstanceKeyNotReadyException class by using the name of the command, ID of the instance against which the command was executed, instance key information, the error message that explains the reason for the exception, and the inner exception (the exception that caused the current exception).

InstanceKeyNotReadyException()

Initializes an instance of the InstanceKeyNotReadyException class.

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

Applies to

InstanceKeyNotReadyException(String)

Initializes an instance of the InstanceKeyNotReadyException class by using the error message.

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

Parameters

message
String

The reason for the exception.

Applies to

InstanceKeyNotReadyException(SerializationInfo, StreamingContext)

Initializes an instance of the InstanceKeyNotReadyException class with the serialized data.

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

InstanceKeyNotReadyException(String, Exception)

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

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

Parameters

message
String

The reason for the exception.

innerException
Exception

The exception that caused the current exception.

Applies to

InstanceKeyNotReadyException(XName, InstanceKey)

Initializes an instance of the InstanceKeyNotReadyException class using the name of the command and the instance key information.

public:
 InstanceKeyNotReadyException(System::Xml::Linq::XName ^ commandName, System::Runtime::DurableInstancing::InstanceKey ^ instanceKey);
public InstanceKeyNotReadyException (System.Xml.Linq.XName commandName, System.Runtime.DurableInstancing.InstanceKey instanceKey);
new System.Runtime.DurableInstancing.InstanceKeyNotReadyException : System.Xml.Linq.XName * System.Runtime.DurableInstancing.InstanceKey -> System.Runtime.DurableInstancing.InstanceKeyNotReadyException
Public Sub New (commandName As XName, instanceKey As InstanceKey)

Parameters

commandName
XName

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

instanceKey
InstanceKey

The information about the instance key.

Applies to

InstanceKeyNotReadyException(XName, InstanceKey, Exception)

Initializes an instance of the InstanceKeyNotReadyException class using the name of the command, the instance key information, and the inner exception (the exception that caused the current exception) passed as parameters.

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

Parameters

commandName
XName

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

instanceKey
InstanceKey

The information about the instance key.

innerException
Exception

The exception that caused the current exception.

Applies to

InstanceKeyNotReadyException(XName, Guid, InstanceKey, String, Exception)

Initializes an instance of the InstanceKeyNotReadyException class by using the name of the command, ID of the instance against which the command was executed, instance key information, the error message that explains the reason for the exception, and the inner exception (the exception that caused the current exception).

public:
 InstanceKeyNotReadyException(System::Xml::Linq::XName ^ commandName, Guid instanceId, System::Runtime::DurableInstancing::InstanceKey ^ instanceKey, System::String ^ message, Exception ^ innerException);
public InstanceKeyNotReadyException (System.Xml.Linq.XName commandName, Guid instanceId, System.Runtime.DurableInstancing.InstanceKey instanceKey, string message, Exception innerException);
new System.Runtime.DurableInstancing.InstanceKeyNotReadyException : System.Xml.Linq.XName * Guid * System.Runtime.DurableInstancing.InstanceKey * string * Exception -> System.Runtime.DurableInstancing.InstanceKeyNotReadyException
Public Sub New (commandName As XName, instanceId As Guid, instanceKey As InstanceKey, 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 instance against which the command was executed.

instanceKey
InstanceKey

The information about the instance key.

message
String

The reason for the exception.

innerException
Exception

The exception that caused the current exception.

Applies to