FormViewInsertedEventArgs(Int32, Exception) 建構函式

定義

初始化 FormViewInsertedEventArgs 類別的新執行個體。

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

參數

affectedRows
Int32

插入操作影響的列數。

e
Exception

代表 Exception 插入操作執行時所產生的例外。 若未提出例外,則使用此 null 參數。

備註

使用此建構子初始化該類別的新實例 FormViewInsertedEventArgs

下表顯示了 的 FormViewInsertedEventArgs初始屬性值。

房產 初始值
AffectedRows 參數的 affectedRows 值。
Exception 參數 System.Exception 中包含的 e 物件。
ExceptionHandled 初始化為 false
KeepInInsertMode 初始化為 false

Note

此建構器主要由控制開發者在舉辦事件時使用。

適用於

另請參閱