Share via


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初期化されます。

注意

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

適用対象

こちらもご覧ください