InstanceNotFoundException 构造函数

定义

初始化 InstanceNotFoundException 类的新实例。

重载

InstanceNotFoundException()

初始化 InstanceNotFoundException 类的新实例。

InstanceNotFoundException(Guid)

使用指定的标识符初始化 InstanceNotFoundException 类的新实例。

InstanceNotFoundException(String)

使用指定的消息初始化 InstanceNotFoundException 类的新实例。

InstanceNotFoundException(Guid, Exception)

使用指定的标识符和内部异常初始化 InstanceNotFoundException 类的新实例。

InstanceNotFoundException(Guid, String)

使用指定的标识符和信息初始化 InstanceNotFoundException 类的新实例。

InstanceNotFoundException(SerializationInfo, StreamingContext)

用序列化的数据初始化 InstanceNotFoundException 类的一个新实例。

InstanceNotFoundException(String, Exception)

使用指定的消息和内部异常初始化 InstanceNotFoundException 类的新实例。

InstanceNotFoundException(Guid, String, Exception)

使用指定的标识符和内部异常初始化 InstanceNotFoundException 类的新实例。

InstanceNotFoundException()

初始化 InstanceNotFoundException 类的新实例。

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

适用于

InstanceNotFoundException(Guid)

使用指定的标识符初始化 InstanceNotFoundException 类的新实例。

public:
 InstanceNotFoundException(Guid id);
public InstanceNotFoundException (Guid id);
new System.ServiceModel.Persistence.InstanceNotFoundException : Guid -> System.ServiceModel.Persistence.InstanceNotFoundException
Public Sub New (id As Guid)

参数

id
Guid

与此实例关联的唯一标识符。

适用于

InstanceNotFoundException(String)

使用指定的消息初始化 InstanceNotFoundException 类的新实例。

public:
 InstanceNotFoundException(System::String ^ message);
public InstanceNotFoundException (string message);
new System.ServiceModel.Persistence.InstanceNotFoundException : string -> System.ServiceModel.Persistence.InstanceNotFoundException
Public Sub New (message As String)

参数

message
String

解释异常原因的错误消息。

适用于

InstanceNotFoundException(Guid, Exception)

使用指定的标识符和内部异常初始化 InstanceNotFoundException 类的新实例。

public:
 InstanceNotFoundException(Guid id, Exception ^ innerException);
public InstanceNotFoundException (Guid id, Exception innerException);
new System.ServiceModel.Persistence.InstanceNotFoundException : Guid * Exception -> System.ServiceModel.Persistence.InstanceNotFoundException
Public Sub New (id As Guid, innerException As Exception)

参数

id
Guid

与此实例关联的唯一标识符。

innerException
Exception

导致 ExceptionInstanceNotFoundException

适用于

InstanceNotFoundException(Guid, String)

使用指定的标识符和信息初始化 InstanceNotFoundException 类的新实例。

public:
 InstanceNotFoundException(Guid id, System::String ^ message);
public InstanceNotFoundException (Guid id, string message);
new System.ServiceModel.Persistence.InstanceNotFoundException : Guid * string -> System.ServiceModel.Persistence.InstanceNotFoundException
Public Sub New (id As Guid, message As String)

参数

id
Guid

与此实例关联的唯一标识符。

message
String

解释异常原因的错误消息。

适用于

InstanceNotFoundException(SerializationInfo, StreamingContext)

用序列化的数据初始化 InstanceNotFoundException 类的一个新实例。

protected:
 InstanceNotFoundException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected InstanceNotFoundException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.ServiceModel.Persistence.InstanceNotFoundException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.ServiceModel.Persistence.InstanceNotFoundException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

参数

info
SerializationInfo

包含有关所引发异常的序列化对象数据的 SerializationInfo

context
StreamingContext

StreamingContext,它包含关于源或目标的上下文信息。

适用于

InstanceNotFoundException(String, Exception)

使用指定的消息和内部异常初始化 InstanceNotFoundException 类的新实例。

public:
 InstanceNotFoundException(System::String ^ message, Exception ^ innerException);
public InstanceNotFoundException (string message, Exception innerException);
new System.ServiceModel.Persistence.InstanceNotFoundException : string * Exception -> System.ServiceModel.Persistence.InstanceNotFoundException
Public Sub New (message As String, innerException As Exception)

参数

message
String

解释异常原因的错误消息。

innerException
Exception

导致 ExceptionInstanceNotFoundException

适用于

InstanceNotFoundException(Guid, String, Exception)

使用指定的标识符和内部异常初始化 InstanceNotFoundException 类的新实例。

public:
 InstanceNotFoundException(Guid id, System::String ^ message, Exception ^ innerException);
public InstanceNotFoundException (Guid id, string message, Exception innerException);
new System.ServiceModel.Persistence.InstanceNotFoundException : Guid * string * Exception -> System.ServiceModel.Persistence.InstanceNotFoundException
Public Sub New (id As Guid, message As String, innerException As Exception)

参数

id
Guid

与此实例关联的唯一标识符。

message
String

解释异常原因的错误消息。

innerException
Exception

导致 ExceptionInstanceNotFoundException

适用于