CommunicationObjectAbortedException Constructors

Definition

Initializes a new instance of the CommunicationObjectAbortedException class.

Overloads

CommunicationObjectAbortedException()

Initializes a new instance of the CommunicationObjectAbortedException class.

CommunicationObjectAbortedException(String)

Initializes a new instance of the CommunicationObjectAbortedException class with the specified message.

CommunicationObjectAbortedException(SerializationInfo, StreamingContext)

Initializes a new instance of the CommunicationObjectAbortedException class used to deserialize data into a CommunicationObjectAbortedException object.

CommunicationObjectAbortedException(String, Exception)

Initializes a new instance of the CommunicationObjectAbortedException class using the specified message and inner exception.

CommunicationObjectAbortedException()

Initializes a new instance of the CommunicationObjectAbortedException class.

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

CommunicationObjectAbortedException(String)

Initializes a new instance of the CommunicationObjectAbortedException class with the specified message.

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

Parameters

message
String

The message carried in the exception.

Remarks

Creates a new CommunicationObjectAbortedException using the specified message.

CommunicationObjectAbortedException(SerializationInfo, StreamingContext)

Initializes a new instance of the CommunicationObjectAbortedException class used to deserialize data into a CommunicationObjectAbortedException object.

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)

Parameters

info
SerializationInfo

The SerializationInfo that holds the serialized object data about the exception being thrown.

context
StreamingContext

The StreamingContext that contains contextual information about the source or destination.

Remarks

This constructor is called during deserialization to restore the exception object transmitted over a stream.

CommunicationObjectAbortedException(String, Exception)

Initializes a new instance of the CommunicationObjectAbortedException class using the specified message and inner exception.

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)

Parameters

message
String

The exception message.

innerException
Exception

The inner exception.

Remarks

Creates a new CommunicationObjectAbortedException using the specified message and innerException.

Applies to