ListViewUpdatedEventArgs(Int32, Exception) 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 ListViewUpdatedEventArgs 類別的新執行個體。
public:
ListViewUpdatedEventArgs(int affectedRows, Exception ^ exception);
public ListViewUpdatedEventArgs(int affectedRows, Exception exception);
new System.Web.UI.WebControls.ListViewUpdatedEventArgs : int * Exception -> System.Web.UI.WebControls.ListViewUpdatedEventArgs
Public Sub New (affectedRows As Integer, exception As Exception)
參數
- affectedRows
- Int32
受到更新操作影響的列數。
- exception
- Exception
當執行更新操作時(如果有的話)所提出的例外。 若無例外,則使用 null。
備註
使用此建構子初始化該類別的新實例 ListViewUpdatedEventArgs 。
Note
這個建構器主要供控制開發者在事件提出時使用。
下表顯示該 ListViewUpdatedEventArgs 類別實例的初始屬性值。
| 房產 | 初始值 |
|---|---|
| AffectedRows | 參數的 affectedRows 值。 |
| Exception | 包含 System.Exception 在參數 e 中的物件。 |
| ExceptionHandled |
false。 |
| KeepInEditMode |
false。 |