Edit

Share via


InstanceLockLostException Constructors

Definition

Initializes an instance of the InstanceLockLostException class.

Overloads

InstanceLockLostException()

Initializes an instance of the InstanceLockLostException class.

InstanceLockLostException(String)

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

InstanceLockLostException(SerializationInfo, StreamingContext)

Initializes an instance of the InstanceLockLostException class with serialized data.

InstanceLockLostException(String, Exception)

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

InstanceLockLostException(XName, Guid)

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

InstanceLockLostException(XName, Guid, Exception)

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

InstanceLockLostException(XName, Guid, String, Exception)

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

InstanceLockLostException()

Initializes an instance of the InstanceLockLostException class.

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

Applies to

InstanceLockLostException(String)

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

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

Parameters

message
String

The reason for the exception.

Applies to

InstanceLockLostException(SerializationInfo, StreamingContext)

Initializes an instance of the InstanceLockLostException class with serialized data.

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

InstanceLockLostException(String, Exception)

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

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

InstanceLockLostException(XName, Guid)

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

InstanceLockLostException(XName, Guid, Exception)

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

InstanceLockLostException(XName, Guid, String, Exception)

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