FormViewUpdatedEventArgs(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 FormViewUpdatedEventArgs class.
public:
FormViewUpdatedEventArgs(int affectedRows, Exception ^ e);
public FormViewUpdatedEventArgs (int affectedRows, Exception e);
new System.Web.UI.WebControls.FormViewUpdatedEventArgs : int * Exception -> System.Web.UI.WebControls.FormViewUpdatedEventArgs
Public Sub New (affectedRows As Integer, e As Exception)
Parameters
- affectedRows
- Int32
The number of rows affected by the update operation.
An Exception that represents the exception raised when the update operation was performed. If no exception is raised, use null
for this parameter.
Remarks
Use this constructor to initialize a new instance of the FormViewUpdatedEventArgs class.
The following table shows initial property values for an instance of the FormViewUpdatedEventArgs class.
Property | Initial Value |
---|---|
AffectedRows | The value of the affectedRows parameter. |
Exception | The System.Exception object contained in the e parameter. |
ExceptionHandled | Initialized to false . |
KeepInEditMode | Initialized to false . |
Note
This constructor is used primarily by control developers when raising events.