ErrorEventArgs コンストラクター

定義

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

オーバーロード

ErrorEventArgs(Exception)

指定した例外を使用して、ErrorEventArgs クラスの新しいインスタンスを初期化します。

ErrorEventArgs(Boolean, Exception)

指定したキャンセル状態と例外を使用して、ErrorEventArgs クラスの新しいインスタンスを初期化します。

ErrorEventArgs(Exception)

指定した例外を使用して、ErrorEventArgs クラスの新しいインスタンスを初期化します。

public:
 ErrorEventArgs(Exception ^ exception);
public ErrorEventArgs (Exception exception);
new System.IdentityModel.Services.ErrorEventArgs : Exception -> System.IdentityModel.Services.ErrorEventArgs
Public Sub New (exception As Exception)

パラメーター

exception
Exception

発生した例外。 Exception プロパティを設定します。

例外

exceptionnullです。

注釈

Cancel新しいErrorEventArgsインスタンスの プロパティは にfalse初期化されます。イベントは取り消されません。

適用対象

ErrorEventArgs(Boolean, Exception)

指定したキャンセル状態と例外を使用して、ErrorEventArgs クラスの新しいインスタンスを初期化します。

public:
 ErrorEventArgs(bool cancel, Exception ^ exception);
public ErrorEventArgs (bool cancel, Exception exception);
new System.IdentityModel.Services.ErrorEventArgs : bool * Exception -> System.IdentityModel.Services.ErrorEventArgs
Public Sub New (cancel As Boolean, exception As Exception)

パラメーター

cancel
Boolean

初期取り消し状態。 Cancel プロパティを設定します。

exception
Exception

発生した例外。 Exception プロパティを設定します。

例外

exceptionnullです。

適用対象