FormViewInsertedEventArgs(Int32, Exception) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the FormViewInsertedEventArgs class.
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)
Parameters
- affectedRows
- Int32
The number of rows affected by the insert operation.
An Exception that represents the exception raised when the insert operation was performed. If no exception was raised, use null
for this parameter.
Remarks
Use this constructor to initialize a new instance of the FormViewInsertedEventArgs class.
The following table shows the initial property values for an instance of FormViewInsertedEventArgs.
Property | Initial value |
---|---|
AffectedRows | The value of the affectedRows parameter. |
Exception | The System.Exception object contained in the e parameter. |
ExceptionHandled | Initialized to false . |
KeepInInsertMode | Initialized to false . |
Note
This constructor is used primarily by control developers when raising events.
Applies to
See also
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應