Redigera

Dela via


InstanceLockedException Constructors

Definition

Initializes an instance of the InstanceLockedException class.

Overloads

InstanceLockedException()

Initializes an instance of the InstanceLockedException class.

InstanceLockedException(String)

Initializes an instance of the InstanceLockedException class by using the error message passed as a parameter.

InstanceLockedException(SerializationInfo, StreamingContext)

Initializes an instance of the InstanceLockedException class with serialized data.

InstanceLockedException(String, Exception)

Initializes an instance of the InstanceLockedException class by using the error message and the inner exception information passed as parameters.

InstanceLockedException(XName, Guid)

Initializes an instance of the InstanceLockedException 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 passed as parameters.

InstanceLockedException(XName, Guid, Exception)

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

InstanceLockedException(XName, Guid, Guid, IDictionary<XName,Object>)

Initializes an instance of the InstanceLockedException 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, the ID of the owner that currently has a lock on the instance, and serializable metadata information of the owner passed as parameters.

InstanceLockedException(XName, Guid, String, Exception)

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

InstanceLockedException(XName, Guid, Guid, IDictionary<XName,Object>, Exception)

Initializes an instance of the InstanceLockedException 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, the ID of the owner that currently has a lock on the instance, serializable metadata information about the owner, and the exception that caused the current exception passed as parameters.

InstanceLockedException(XName, Guid, Guid, IDictionary<XName,Object>, String, Exception)

Initializes an instance of the InstanceLockedException 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, the ID of the owner that currently has a lock on the instance, serializable metadata information about the owner, the error message that explains the reason for the exception, and the exception that caused the current exception passed as parameters.

InstanceLockedException()

Initializes an instance of the InstanceLockedException class.

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

Applies to

InstanceLockedException(String)

Initializes an instance of the InstanceLockedException class by using the error message passed as a parameter.

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

Parameters

message
String

The reason for the exception.

Applies to

InstanceLockedException(SerializationInfo, StreamingContext)

Initializes an instance of the InstanceLockedException class with serialized data.

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

InstanceLockedException(String, Exception)

Initializes an instance of the InstanceLockedException class by using the error message and the inner exception information passed as parameters.

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

Remarks

An exception that is thrown as a result of a previous exception typically includes a reference to the previous exception in the InnerException property.

Applies to

InstanceLockedException(XName, Guid)

Initializes an instance of the InstanceLockedException 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 passed as parameters.

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

InstanceLockedException(XName, Guid, Exception)

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

InstanceLockedException(XName, Guid, Guid, IDictionary<XName,Object>)

Initializes an instance of the InstanceLockedException 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, the ID of the owner that currently has a lock on the instance, and serializable metadata information of the owner passed as parameters.

public:
 InstanceLockedException(System::Xml::Linq::XName ^ commandName, Guid instanceId, Guid instanceOwnerId, System::Collections::Generic::IDictionary<System::Xml::Linq::XName ^, System::Object ^> ^ serializableInstanceOwnerMetadata);
public InstanceLockedException (System.Xml.Linq.XName commandName, Guid instanceId, Guid instanceOwnerId, System.Collections.Generic.IDictionary<System.Xml.Linq.XName,object> serializableInstanceOwnerMetadata);
new System.Runtime.DurableInstancing.InstanceLockedException : System.Xml.Linq.XName * Guid * Guid * System.Collections.Generic.IDictionary<System.Xml.Linq.XName, obj> -> System.Runtime.DurableInstancing.InstanceLockedException
Public Sub New (commandName As XName, instanceId As Guid, instanceOwnerId As Guid, serializableInstanceOwnerMetadata As IDictionary(Of XName, Object))

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.

instanceOwnerId
Guid

The ID of the owner that currently has a lock on the instance.

serializableInstanceOwnerMetadata
IDictionary<XName,Object>

Serializable metadata information about the instance owner (who has a lock on the instance).

Applies to

InstanceLockedException(XName, Guid, String, Exception)

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

public:
 InstanceLockedException(System::Xml::Linq::XName ^ commandName, Guid instanceId, System::String ^ message, Exception ^ innerException);
public InstanceLockedException (System.Xml.Linq.XName commandName, Guid instanceId, string message, Exception innerException);
new System.Runtime.DurableInstancing.InstanceLockedException : System.Xml.Linq.XName * Guid * string * Exception -> System.Runtime.DurableInstancing.InstanceLockedException
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 error message that explains the reason for the exception.

innerException
Exception

The exception that caused the current exception.

Applies to

InstanceLockedException(XName, Guid, Guid, IDictionary<XName,Object>, Exception)

Initializes an instance of the InstanceLockedException 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, the ID of the owner that currently has a lock on the instance, serializable metadata information about the owner, and the exception that caused the current exception passed as parameters.

public:
 InstanceLockedException(System::Xml::Linq::XName ^ commandName, Guid instanceId, Guid instanceOwnerId, System::Collections::Generic::IDictionary<System::Xml::Linq::XName ^, System::Object ^> ^ serializableInstanceOwnerMetadata, Exception ^ innerException);
public InstanceLockedException (System.Xml.Linq.XName commandName, Guid instanceId, Guid instanceOwnerId, System.Collections.Generic.IDictionary<System.Xml.Linq.XName,object> serializableInstanceOwnerMetadata, Exception innerException);
new System.Runtime.DurableInstancing.InstanceLockedException : System.Xml.Linq.XName * Guid * Guid * System.Collections.Generic.IDictionary<System.Xml.Linq.XName, obj> * Exception -> System.Runtime.DurableInstancing.InstanceLockedException
Public Sub New (commandName As XName, instanceId As Guid, instanceOwnerId As Guid, serializableInstanceOwnerMetadata As IDictionary(Of XName, Object), 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.

instanceOwnerId
Guid

The ID of the owner that currently has a lock on the instance.

serializableInstanceOwnerMetadata
IDictionary<XName,Object>

Serializable metadata information about the instance owner (who has a lock on the instance).

innerException
Exception

The exception that caused the current exception.

Applies to

InstanceLockedException(XName, Guid, Guid, IDictionary<XName,Object>, String, Exception)

Initializes an instance of the InstanceLockedException 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, the ID of the owner that currently has a lock on the instance, serializable metadata information about the owner, the error message that explains the reason for the exception, and the exception that caused the current exception passed as parameters.

public:
 InstanceLockedException(System::Xml::Linq::XName ^ commandName, Guid instanceId, Guid instanceOwnerId, System::Collections::Generic::IDictionary<System::Xml::Linq::XName ^, System::Object ^> ^ serializableInstanceOwnerMetadata, System::String ^ message, Exception ^ innerException);
public InstanceLockedException (System.Xml.Linq.XName commandName, Guid instanceId, Guid instanceOwnerId, System.Collections.Generic.IDictionary<System.Xml.Linq.XName,object> serializableInstanceOwnerMetadata, string message, Exception innerException);
new System.Runtime.DurableInstancing.InstanceLockedException : System.Xml.Linq.XName * Guid * Guid * System.Collections.Generic.IDictionary<System.Xml.Linq.XName, obj> * string * Exception -> System.Runtime.DurableInstancing.InstanceLockedException
Public Sub New (commandName As XName, instanceId As Guid, instanceOwnerId As Guid, serializableInstanceOwnerMetadata As IDictionary(Of XName, Object), 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.

instanceOwnerId
Guid

The ID of the owner that currently has lock on the instance.

serializableInstanceOwnerMetadata
IDictionary<XName,Object>

The serializable metadata information about the instance owner (who has a lock on the instance).

message
String

The error message that explains the reason for the exception.

innerException
Exception

The exception that caused the current exception.

Applies to