InstanceKeyNotReadyException 构造函数
定义
初始化 InstanceKeyNotReadyException 类的实例。Initializes an instance of the InstanceKeyNotReadyException class.
重载
| InstanceKeyNotReadyException() |
初始化 InstanceKeyNotReadyException 类的实例。Initializes an instance of the InstanceKeyNotReadyException class. |
| InstanceKeyNotReadyException(String) |
使用错误消息初始化 InstanceKeyNotReadyException 类的实例。Initializes an instance of the InstanceKeyNotReadyException class by using the error message. |
| InstanceKeyNotReadyException(SerializationInfo, StreamingContext) |
使用序列化数据初始化 InstanceKeyNotReadyException 类的实例。Initializes an instance of the InstanceKeyNotReadyException class with the serialized data. |
| InstanceKeyNotReadyException(String, Exception) |
使用错误消息和内部异常信息初始化 InstanceKeyNotReadyException 类的实例。Initializes an instance of the InstanceKeyNotReadyException class by using the error message and the inner exception information. |
| InstanceKeyNotReadyException(XName, InstanceKey) |
使用此命令的名称和实例键信息初始化 InstanceKeyNotReadyException 类的实例。Initializes an instance of the InstanceKeyNotReadyException class using the name of the command and the instance key information. |
| InstanceKeyNotReadyException(XName, InstanceKey, Exception) |
使用作为参数传递的此命令的名称、实例键信息和内部异常(引发当前异常的异常)初始化 InstanceKeyNotReadyException 类的实例。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) |
使用此命令的名称、执行此命令所针对的目标实例的 ID、实例键信息、解释此异常的原因的错误消息和内部异常(引发当前异常的异常)来初始化 InstanceKeyNotReadyException 类的实例。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()
初始化 InstanceKeyNotReadyException 类的实例。Initializes an instance of the InstanceKeyNotReadyException class.
public:
InstanceKeyNotReadyException();
public InstanceKeyNotReadyException ();
Public Sub New ()
适用于
InstanceKeyNotReadyException(String)
使用错误消息初始化 InstanceKeyNotReadyException 类的实例。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)
参数
- message
- String
异常的原因。The reason for the exception.
适用于
InstanceKeyNotReadyException(SerializationInfo, StreamingContext)
使用序列化数据初始化 InstanceKeyNotReadyException 类的实例。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)
参数
- info
- SerializationInfo
有关当前异常的信息。The information about the current exception.
- context
- StreamingContext
关于来源和目标的上下文信息The contextual information about the source or destination.
- 属性
适用于
InstanceKeyNotReadyException(String, Exception)
使用错误消息和内部异常信息初始化 InstanceKeyNotReadyException 类的实例。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)
参数
- message
- String
异常的原因。The reason for the exception.
- innerException
- Exception
引发当前异常的异常。The exception that caused the current exception.
适用于
InstanceKeyNotReadyException(XName, InstanceKey)
使用此命令的名称和实例键信息初始化 InstanceKeyNotReadyException 类的实例。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)
参数
- commandName
- XName
此命令的 XName(命名空间和名称的组合)。The XName (the combination of namespace and name) of the command.
- instanceKey
- InstanceKey
有关该实例键的信息。The information about the instance key.
适用于
InstanceKeyNotReadyException(XName, InstanceKey, Exception)
使用作为参数传递的此命令的名称、实例键信息和内部异常(引发当前异常的异常)初始化 InstanceKeyNotReadyException 类的实例。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)
参数
- commandName
- XName
此命令的 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.
适用于
InstanceKeyNotReadyException(XName, Guid, InstanceKey, String, Exception)
使用此命令的名称、执行此命令所针对的目标实例的 ID、实例键信息、解释此异常的原因的错误消息和内部异常(引发当前异常的异常)来初始化 InstanceKeyNotReadyException 类的实例。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)
参数
- commandName
- XName
此命令的 XName(命名空间和名称的组合)。The XName (the combination of namespace and name) of the command.
- instanceId
- Guid
执行此命令所针对的实例的 ID。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.