CommunicationException CommunicationException CommunicationException CommunicationException Constructors

Definition

Overloads

CommunicationException() CommunicationException() CommunicationException()

Initializes a new instance of the CommunicationException class.

CommunicationException(String) CommunicationException(String) CommunicationException(String) CommunicationException(String)

Initializes a new instance of the CommunicationException class, using the specified message.

CommunicationException(SerializationInfo, StreamingContext) CommunicationException(SerializationInfo, StreamingContext) CommunicationException(SerializationInfo, StreamingContext) CommunicationException(SerializationInfo, StreamingContext)

Initializes a new instance of the CommunicationException class, using the specified serialization information and context objects.

CommunicationException(String, Exception) CommunicationException(String, Exception) CommunicationException(String, Exception) CommunicationException(String, Exception)

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

CommunicationException() CommunicationException() CommunicationException()

Initializes a new instance of the CommunicationException class.

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

CommunicationException(String) CommunicationException(String) CommunicationException(String) CommunicationException(String)

Initializes a new instance of the CommunicationException class, using the specified message.

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

Parameters

message
String String String String

The description of the error condition.

CommunicationException(SerializationInfo, StreamingContext) CommunicationException(SerializationInfo, StreamingContext) CommunicationException(SerializationInfo, StreamingContext) CommunicationException(SerializationInfo, StreamingContext)

Initializes a new instance of the CommunicationException class, using the specified serialization information and context objects.

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

Parameters

info
SerializationInfo SerializationInfo SerializationInfo SerializationInfo

Information relevant to the deserialization process.

context
StreamingContext StreamingContext StreamingContext StreamingContext

The context of the deserialization process.

CommunicationException(String, Exception) CommunicationException(String, Exception) CommunicationException(String, Exception) CommunicationException(String, Exception)

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

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

Parameters

message
String String String String

The description of the error condition.

innerException
Exception Exception Exception Exception

The inner exception to be used.

Applies to