CommandLineConfigurationException コンストラクター

定義

オーバーロード

CommandLineConfigurationException()

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

CommandLineConfigurationException(String)

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

CommandLineConfigurationException(SerializationInfo, StreamingContext)

シリアル化したデータを使用して、Exception クラスの新しいインスタンスを初期化します。

CommandLineConfigurationException(String, Exception)

指定したエラー メッセージおよびこの例外の原因となった内部例外への参照を使用して、Exception クラスの新しいインスタンスを初期化します。

CommandLineConfigurationException()

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

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

適用対象

CommandLineConfigurationException(String)

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

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

パラメーター

message
String

エラーを説明するメッセージ。

適用対象

CommandLineConfigurationException(SerializationInfo, StreamingContext)

シリアル化したデータを使用して、Exception クラスの新しいインスタンスを初期化します。

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

パラメーター

info
SerializationInfo

スローされている例外に関するシリアル化済みオブジェクト データを保持している SerializationInfo

context
StreamingContext

転送元または転送先についてのコンテキスト情報を含む StreamingContext です。

適用対象

CommandLineConfigurationException(String, Exception)

指定したエラー メッセージおよびこの例外の原因となった内部例外への参照を使用して、Exception クラスの新しいインスタンスを初期化します。

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

パラメーター

message
String

例外の原因を説明するエラー メッセージ。

innerException
Exception

現在の例外の原因である例外。内部例外が指定されていない場合は null 参照 (Visual Basic では、Nothing)。

適用対象