GridViewUpdatedEventArgs(Int32, Exception) コンストラクター

定義

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

public:
 GridViewUpdatedEventArgs(int affectedRows, Exception ^ e);
public GridViewUpdatedEventArgs(int affectedRows, Exception e);
new System.Web.UI.WebControls.GridViewUpdatedEventArgs : int * Exception -> System.Web.UI.WebControls.GridViewUpdatedEventArgs
Public Sub New (affectedRows As Integer, e As Exception)

パラメーター

affectedRows
Int32

更新操作の影響を受けた行の数。

e
Exception

更新操作が実行されたときに発生した例外。 例外が発生しなかった場合は、このパラメーターに null を使用します。

注釈

次の表に、 GridViewUpdatedEventArgs クラスのインスタンスの初期プロパティ値を示します。

財産 初期値
AffectedRows affectedRows パラメーターの値。
Exception System.Exception パラメーターに含まれるe オブジェクト。
ExceptionHandled falseに初期化されます。
KeepInEditMode falseに初期化されます。

Note

このコンストラクターは、主にコントロール開発者がイベントを発生させるときに使用されます。

適用対象

こちらもご覧ください