FormViewInsertedEventArgs(Int32, Exception) 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 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
插入操作影響的列數。
備註
使用此建構子初始化該類別的新實例 FormViewInsertedEventArgs 。
下表顯示了 的 FormViewInsertedEventArgs初始屬性值。
| 房產 | 初始值 |
|---|---|
| AffectedRows | 參數的 affectedRows 值。 |
| Exception | 參數 System.Exception 中包含的 e 物件。 |
| ExceptionHandled | 初始化為 false。 |
| KeepInInsertMode | 初始化為 false。 |
Note
此建構器主要由控制開發者在舉辦事件時使用。