InstanceLockedException Construtores

Definição

Inicializa uma instância da classe InstanceLockedException.Initializes an instance of the InstanceLockedException class.

Sobrecargas

InstanceLockedException()

Inicializa uma instância da classe InstanceLockedException.Initializes an instance of the InstanceLockedException class.

InstanceLockedException(String)

Inicializa uma instância da classe InstanceLockedException usando a mensagem de erro passada como um parâmetro.Initializes an instance of the InstanceLockedException class by using the error message passed as a parameter.

InstanceLockedException(SerializationInfo, StreamingContext)

Inicializa uma instância da classe InstanceLockedException com os dados serializados.Initializes an instance of the InstanceLockedException class with serialized data.

InstanceLockedException(String, Exception)

Inicializa uma instância da classe InstanceLockedException usando a mensagem de erro e as informações de exceção interna passados como parâmetros.Initializes an instance of the InstanceLockedException class by using the error message and the inner exception information passed as parameters.

InstanceLockedException(XName, Guid)

Inicializa uma instância da classe InstanceLockedException usando o XName (a combinação de namespace e nome) do comando e a ID da instância de destino com relação à qual o comando foi executado passados como parâmetros.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)

Inicializa uma instância da classe InstanceLockedException usando o XName (a combinação de namespace e nome) do comando, a ID da instância de destino com relação à qual o comando foi executado e as informações da exceção interna passados como parâmetros.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>)

Inicializa uma instância da classe InstanceLockedException usando o XName (a combinação de namespace e nome) do comando, a ID da instância de destino na qual o comando foi executado, a ID do proprietário que tem um bloqueio da instância e as informações dos metadados serializáveis sobre o proprietário passados como parâmetros.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)

Inicializa uma instância da classe InstanceLockedException usando o XName (a combinação de namespace e nome) do comando, a ID da instância de destino na qual o comando foi executado, a mensagem de erro que explica o motivo da exceção e a exceção que causou a atual exceção passados como parâmetros.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)

Inicializa uma instância da classe InstanceLockedException usando o XName (a combinação de namespace e nome) do comando, a ID da instância de destino na qual o comando foi executado, a ID do proprietário que tem um bloqueio da instância, as informações dos metadados serializáveis sobre o proprietário e a exceção que causou a atual exceção passados como parâmetros.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)

Inicializa uma instância da classe InstanceLockedException usando o XName (a combinação de namespace e nome) do comando, a ID da instância de destino na qual o comando foi executado, a ID do proprietário que tem um bloqueio da instância, as informações dos metadados serializáveis sobre o proprietário, a mensagem de erro que explica o motivo da exceção e a exceção que causou a atual exceção passados como parâmetros.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()

Inicializa uma instância da classe InstanceLockedException.Initializes an instance of the InstanceLockedException class.

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

Aplica-se a

InstanceLockedException(String)

Inicializa uma instância da classe InstanceLockedException usando a mensagem de erro passada como um parâmetro.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)

Parâmetros

message
String

O motivo da exceção.The reason for the exception.

Aplica-se a

InstanceLockedException(SerializationInfo, StreamingContext)

Inicializa uma instância da classe InstanceLockedException com os dados serializados.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)

Parâmetros

info
SerializationInfo

As informações sobre a exceção atual.The information about the current exception.

context
StreamingContext

As informações contextuais sobre a origem ou o destino.The contextual information about the source or destination.

Atributos

Aplica-se a

InstanceLockedException(String, Exception)

Inicializa uma instância da classe InstanceLockedException usando a mensagem de erro e as informações de exceção interna passados como parâmetros.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)

Parâmetros

message
String

O motivo da exceção.The reason for the exception.

innerException
Exception

A exceção que causou a exceção atual.The exception that caused the current exception.

Comentários

Uma exceção gerada como resultado de uma exceção anterior normalmente inclui uma referência à exceção anterior na InnerException propriedade.An exception that is thrown as a result of a previous exception typically includes a reference to the previous exception in the InnerException property.

Aplica-se a

InstanceLockedException(XName, Guid)

Inicializa uma instância da classe InstanceLockedException usando o XName (a combinação de namespace e nome) do comando e a ID da instância de destino com relação à qual o comando foi executado passados como parâmetros.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)

Parâmetros

commandName
XName

O XName (a combinação de namespace e nome) do comando.The XName (the combination of namespace and name) of the command.

instanceId
Guid

A ID da instância de destino com relação à qual o comando foi executado.The ID of the target instance against which the command was executed.

Aplica-se a

InstanceLockedException(XName, Guid, Exception)

Inicializa uma instância da classe InstanceLockedException usando o XName (a combinação de namespace e nome) do comando, a ID da instância de destino com relação à qual o comando foi executado e as informações da exceção interna passados como parâmetros.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)

Parâmetros

commandName
XName

O XName (a combinação de namespace e nome) do comando.The XName (the combination of namespace and name) of the command.

instanceId
Guid

A ID da instância de destino com relação à qual o comando foi executado.The ID of the target instance against which the command was executed.

innerException
Exception

A exceção que causou a exceção atual.The exception that caused the current exception.

Aplica-se a

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

Inicializa uma instância da classe InstanceLockedException usando o XName (a combinação de namespace e nome) do comando, a ID da instância de destino na qual o comando foi executado, a ID do proprietário que tem um bloqueio da instância e as informações dos metadados serializáveis sobre o proprietário passados como parâmetros.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))

Parâmetros

commandName
XName

O XName (a combinação de namespace e nome) do comando.The XName (the combination of namespace and name) of the command.

instanceId
Guid

A ID da instância de destino com relação à qual o comando foi executado.The ID of the target instance against which the command was executed.

instanceOwnerId
Guid

A ID do proprietário que atualmente tem um bloqueio da instância.The ID of the owner that currently has a lock on the instance.

serializableInstanceOwnerMetadata
IDictionary<XName,Object>

Informações de metadados serializáveis sobre o proprietário da instância (que tem um bloqueio da instância).Serializable metadata information about the instance owner (who has a lock on the instance).

Aplica-se a

InstanceLockedException(XName, Guid, String, Exception)

Inicializa uma instância da classe InstanceLockedException usando o XName (a combinação de namespace e nome) do comando, a ID da instância de destino na qual o comando foi executado, a mensagem de erro que explica o motivo da exceção e a exceção que causou a atual exceção passados como parâmetros.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)

Parâmetros

commandName
XName

O XName (a combinação de namespace e nome) do comando.The XName (the combination of namespace and name) of the command.

instanceId
Guid

A ID da instância de destino com relação à qual o comando foi executado.The ID of the target instance against which the command was executed.

message
String

A mensagem de erro que explica a razão da exceção.The error message that explains the reason for the exception.

innerException
Exception

A exceção que causou a exceção atual.The exception that caused the current exception.

Aplica-se a

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

Inicializa uma instância da classe InstanceLockedException usando o XName (a combinação de namespace e nome) do comando, a ID da instância de destino na qual o comando foi executado, a ID do proprietário que tem um bloqueio da instância, as informações dos metadados serializáveis sobre o proprietário e a exceção que causou a atual exceção passados como parâmetros.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)

Parâmetros

commandName
XName

O XName (a combinação de namespace e nome) do comando.The XName (the combination of namespace and name) of the command.

instanceId
Guid

A ID da instância de destino com relação à qual o comando foi executado.The ID of the target instance against which the command was executed.

instanceOwnerId
Guid

A ID do proprietário que atualmente tem um bloqueio da instância.The ID of the owner that currently has a lock on the instance.

serializableInstanceOwnerMetadata
IDictionary<XName,Object>

Informações de metadados serializáveis sobre o proprietário da instância (que tem um bloqueio da instância).Serializable metadata information about the instance owner (who has a lock on the instance).

innerException
Exception

A exceção que causou a exceção atual.The exception that caused the current exception.

Aplica-se a

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

Inicializa uma instância da classe InstanceLockedException usando o XName (a combinação de namespace e nome) do comando, a ID da instância de destino na qual o comando foi executado, a ID do proprietário que tem um bloqueio da instância, as informações dos metadados serializáveis sobre o proprietário, a mensagem de erro que explica o motivo da exceção e a exceção que causou a atual exceção passados como parâmetros.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)

Parâmetros

commandName
XName

O XName (a combinação de namespace e nome) do comando.The XName (the combination of namespace and name) of the command.

instanceId
Guid

A ID da instância de destino com relação à qual o comando foi executado.The ID of the target instance against which the command was executed.

instanceOwnerId
Guid

A ID do proprietário que atualmente tem um bloqueio da instância.The ID of the owner that currently has lock on the instance.

serializableInstanceOwnerMetadata
IDictionary<XName,Object>

As informações de metadados serializáveis sobre o proprietário da instância (que tem um bloqueio da instância).The serializable metadata information about the instance owner (who has a lock on the instance).

message
String

A mensagem de erro que explica a razão da exceção.The error message that explains the reason for the exception.

innerException
Exception

A exceção que causou a exceção atual.The exception that caused the current exception.

Aplica-se a