InstanceNotReadyException Constructors

Definition

Initializes an instance of the InstanceNotReadyException class.

Overloads

InstanceNotReadyException()

Initializes an instance of the InstanceNotReadyException class.

InstanceNotReadyException(String)

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

InstanceNotReadyException(SerializationInfo, StreamingContext)

Initializes an instance of the InstanceNotReadyException class with serialized data.

InstanceNotReadyException(String, Exception)

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

InstanceNotReadyException(XName, Guid)

Initializes an instance of the InstanceNotReadyException 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.

InstanceNotReadyException(XName, Guid, Exception)

Initializes an instance of the InstanceNotReadyException 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.

InstanceNotReadyException(XName, Guid, String, Exception)

Initializes an instance of the InstanceNotReadyException 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, error message that explains the reason for the exception, and the exception that caused the current exception.

InstanceNotReadyException()

Initializes an instance of the InstanceNotReadyException class.

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

Applies to

InstanceNotReadyException(String)

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

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

Parameters

message
String

The reason for the exception.

Applies to

InstanceNotReadyException(SerializationInfo, StreamingContext)

Initializes an instance of the InstanceNotReadyException class with serialized data.

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

InstanceNotReadyException(String, Exception)

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

public:
 InstanceNotReadyException(System::String ^ message, Exception ^ innerException);
public InstanceNotReadyException (string message, Exception innerException);
new System.Runtime.DurableInstancing.InstanceNotReadyException : string * Exception -> System.Runtime.DurableInstancing.InstanceNotReadyException
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

InstanceNotReadyException(XName, Guid)

Initializes an instance of the InstanceNotReadyException 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:
 InstanceNotReadyException(System::Xml::Linq::XName ^ commandName, Guid instanceId);
public InstanceNotReadyException (System.Xml.Linq.XName commandName, Guid instanceId);
new System.Runtime.DurableInstancing.InstanceNotReadyException : System.Xml.Linq.XName * Guid -> System.Runtime.DurableInstancing.InstanceNotReadyException
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

InstanceNotReadyException(XName, Guid, Exception)

Initializes an instance of the InstanceNotReadyException 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.

public:
 InstanceNotReadyException(System::Xml::Linq::XName ^ commandName, Guid instanceId, Exception ^ innerException);
public InstanceNotReadyException (System.Xml.Linq.XName commandName, Guid instanceId, Exception innerException);
new System.Runtime.DurableInstancing.InstanceNotReadyException : System.Xml.Linq.XName * Guid * Exception -> System.Runtime.DurableInstancing.InstanceNotReadyException
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

InstanceNotReadyException(XName, Guid, String, Exception)

Initializes an instance of the InstanceNotReadyException 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, error message that explains the reason for the exception, and the exception that caused the current exception.

public:
 InstanceNotReadyException(System::Xml::Linq::XName ^ commandName, Guid instanceId, System::String ^ message, Exception ^ innerException);
public InstanceNotReadyException (System.Xml.Linq.XName commandName, Guid instanceId, string message, Exception innerException);
new System.Runtime.DurableInstancing.InstanceNotReadyException : System.Xml.Linq.XName * Guid * string * Exception -> System.Runtime.DurableInstancing.InstanceNotReadyException
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