CommunicationObjectAbortedException 构造函数

定义

初始化 CommunicationObjectAbortedException 类的新实例。

重载

CommunicationObjectAbortedException()

Source:
CommunicationObjectAbortedException.cs
Source:
CommunicationObjectAbortedException.cs
Source:
CommunicationObjectAbortedException.cs

初始化 CommunicationObjectAbortedException 类的新实例。

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

适用于

CommunicationObjectAbortedException(String)

Source:
CommunicationObjectAbortedException.cs
Source:
CommunicationObjectAbortedException.cs
Source:
CommunicationObjectAbortedException.cs

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

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

参数

message
String

异常中传递的消息。

注解

使用指定的CommunicationObjectAbortedException值创建一个新message项。

适用于

CommunicationObjectAbortedException(SerializationInfo, StreamingContext)

Source:
CommunicationObjectAbortedException.cs
Source:
CommunicationObjectAbortedException.cs
Source:
CommunicationObjectAbortedException.cs

初始化用于将数据反序列化到CommunicationObjectAbortedException对象中的类的新实例CommunicationObjectAbortedException

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

参数

info
SerializationInfo

保存所引发异常的序列化对象数据的 SerializationInfo

context
StreamingContext

包含有关源或目标的上下文信息的 StreamingContext

注解

在反序列化期间调用此构造函数以还原通过流传输的异常对象。

适用于

CommunicationObjectAbortedException(String, Exception)

Source:
CommunicationObjectAbortedException.cs
Source:
CommunicationObjectAbortedException.cs
Source:
CommunicationObjectAbortedException.cs

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

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

参数

message
String

异常消息。

innerException
Exception

内部异常。

注解

CommunicationObjectAbortedException使用指定的messageinnerException

适用于