Share via


LinqDataSourceDeleteEventArgs.ExceptionHandled プロパティ

定義

例外が既に処理済みで、再度スローする必要がないかどうかを示す値を取得または設定します。

public:
 property bool ExceptionHandled { bool get(); void set(bool value); };
public bool ExceptionHandled { get; set; }
member this.ExceptionHandled : bool with get, set
Public Property ExceptionHandled As Boolean

プロパティ値

例外が処理された場合は true。それ以外の場合は false

注釈

イベントのイベント ハンドラーを作成して、 Deleting 削除操作の前にスローされた検証例外を調べることができます。 例外を処理し、再度スローしたくない場合は、 プロパティを ExceptionHandledtrue設定します。 プロパティを ExceptionHandledtrue設定しない場合、例外は呼び出し履歴の次のイベント ハンドラーに反映されます。

適用対象