View Deleted Event Args(Int32, Exception) Constructor
Initializes a new instance of the DetailsViewDeletedEventArgs class.
public: DetailsViewDeletedEventArgs(int affectedRows, Exception ^ e);
public DetailsViewDeletedEventArgs (int affectedRows, Exception e);
new System.Web.UI.WebControls.DetailsViewDeletedEventArgs : int * Exception -> System.Web.UI.WebControls.DetailsViewDeletedEventArgs
Public Sub New (affectedRows As Integer, e As Exception)
The number of rows affected by the delete operation.
An Exception that represents the exception raised when the delete operation was performed. If no exception is raised, use
null for this parameter.
Use this constructor to initialize a new instance of the DetailsViewDeletedEventArgs class.
The following table shows the initial property values for an instance of DetailsViewDeletedEventArgs.
|AffectedRows||The value of the
|Exception||The System.Exception contained in the
This constructor is used primarily by control developers when raising events.