CommunicationException コンストラクター

定義

CommunicationException クラスの新しいインスタンスを初期化します。

オーバーロード

名前 説明
CommunicationException()

CommunicationException クラスの新しいインスタンスを初期化します。

CommunicationException(String)

指定したメッセージを使用して、 CommunicationException クラスの新しいインスタンスを初期化します。

CommunicationException(SerializationInfo, StreamingContext)

指定したシリアル化情報とコンテキスト オブジェクトを使用して、 CommunicationException クラスの新しいインスタンスを初期化します。

CommunicationException(String, Exception)

指定したメッセージと内部例外を使用して、 CommunicationException クラスの新しいインスタンスを初期化します。

CommunicationException()

ソース:
CommunicationException.cs
ソース:
CommunicationException.cs
ソース:
CommunicationException.cs

CommunicationException クラスの新しいインスタンスを初期化します。

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

適用対象

CommunicationException(String)

ソース:
CommunicationException.cs
ソース:
CommunicationException.cs
ソース:
CommunicationException.cs

指定したメッセージを使用して、 CommunicationException クラスの新しいインスタンスを初期化します。

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

パラメーター

message
String

エラー条件の説明。

適用対象

CommunicationException(SerializationInfo, StreamingContext)

ソース:
CommunicationException.cs
ソース:
CommunicationException.cs
ソース:
CommunicationException.cs

指定したシリアル化情報とコンテキスト オブジェクトを使用して、 CommunicationException クラスの新しいインスタンスを初期化します。

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)

パラメーター

info
SerializationInfo

逆シリアル化プロセスに関連する情報。

context
StreamingContext

逆シリアル化プロセスのコンテキスト。

適用対象

CommunicationException(String, Exception)

ソース:
CommunicationException.cs
ソース:
CommunicationException.cs
ソース:
CommunicationException.cs

指定したメッセージと内部例外を使用して、 CommunicationException クラスの新しいインスタンスを初期化します。

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)

パラメーター

message
String

エラー条件の説明。

innerException
Exception

使用する内部例外。

適用対象