Redigera

Dela via


CommunicationObjectFaultedException Constructors

Definition

Initializes a new instance of the CommunicationObjectFaultedException class.

Overloads

CommunicationObjectFaultedException()

Initializes a new instance of the CommunicationObjectFaultedException class.

CommunicationObjectFaultedException(String)

Initializes a new instance of the CommunicationObjectFaultedException class using the specified message.

CommunicationObjectFaultedException(SerializationInfo, StreamingContext)

Initializes a new instance of the CommunicationObjectFaultedException class when deserializing a stream using the specified SerializationInfo and StreamingContext objects.

CommunicationObjectFaultedException(String, Exception)

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

CommunicationObjectFaultedException()

Source:
CommunicationObjectFaultedException.cs
Source:
CommunicationObjectFaultedException.cs

Initializes a new instance of the CommunicationObjectFaultedException class.

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

Remarks

Creates a new CommunicationObjectFaultedException.

Applies to

CommunicationObjectFaultedException(String)

Source:
CommunicationObjectFaultedException.cs
Source:
CommunicationObjectFaultedException.cs

Initializes a new instance of the CommunicationObjectFaultedException class using the specified message.

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

Parameters

message
String

The message that describes the exception.

Remarks

Creates a new CommunicationObjectFaultedException using the specified message.

Applies to

CommunicationObjectFaultedException(SerializationInfo, StreamingContext)

Source:
CommunicationObjectFaultedException.cs
Source:
CommunicationObjectFaultedException.cs

Initializes a new instance of the CommunicationObjectFaultedException class when deserializing a stream using the specified SerializationInfo and StreamingContext objects.

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

Parameters

info
SerializationInfo

The serialization information used to create the exception object.

context
StreamingContext

The context within which the exception object is created.

Remarks

This constructor is called when deserializing a CommunicationObjectFaultedException object from a stream.

Applies to

CommunicationObjectFaultedException(String, Exception)

Source:
CommunicationObjectFaultedException.cs
Source:
CommunicationObjectFaultedException.cs

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

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

Parameters

message
String

The exception message.

innerException
Exception

The inner exception.

Remarks

Creates a new CommunicationObjectFaultedException using the specified message and innerException.

Applies to