DetailsViewDeletedEventArgs(Int32, Exception) Construtor
Definição
Inicializa uma nova instância da classe DetailsViewDeletedEventArgs.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)
Parâmetros
- affectedRows
- Int32
O número de linhas afetadas pela operação de exclusão.The number of rows affected by the delete operation.
Um Exception que representa a exceção gerada quando a operação de exclusão foi executada.An Exception that represents the exception raised when the delete operation was performed. Se nenhuma exceção for gerada, use null para este parâmetro.If no exception is raised, use null for this parameter.
Comentários
Use este construtor para inicializar uma nova instância da DetailsViewDeletedEventArgs classe.Use this constructor to initialize a new instance of the DetailsViewDeletedEventArgs class.
A tabela a seguir mostra os valores de propriedade inicial de uma instância de DetailsViewDeletedEventArgs.The following table shows the initial property values for an instance of DetailsViewDeletedEventArgs.
| PropriedadeProperty | Valor inicialInitial value |
|---|---|
| AffectedRows | O valor do affectedRows parâmetro.The value of the affectedRows parameter. |
| Exception | O System.Exception contido no e parâmetro.The System.Exception contained in the e parameter. |
| ExceptionHandled | Inicializado para false .Initialized to false. |
Observação
Esse construtor é usado principalmente por desenvolvedores de controle ao gerar eventos.This constructor is used primarily by control developers when raising events.