AsyncCompletedEventArgs Construtores

Definição

Inicializa uma nova instância da classe AsyncCompletedEventArgs.Initializes a new instance of the AsyncCompletedEventArgs class.

Sobrecargas

AsyncCompletedEventArgs()
Obsoleto.

Inicializa uma nova instância da classe AsyncCompletedEventArgs.Initializes a new instance of the AsyncCompletedEventArgs class.

AsyncCompletedEventArgs(Exception, Boolean, Object)

Inicializa uma nova instância da classe AsyncCompletedEventArgs.Initializes a new instance of the AsyncCompletedEventArgs class.

AsyncCompletedEventArgs()

Cuidado

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Inicializa uma nova instância da classe AsyncCompletedEventArgs.Initializes a new instance of the AsyncCompletedEventArgs class.

public:
 AsyncCompletedEventArgs();
[System.Obsolete("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)]
public AsyncCompletedEventArgs ();
Public Sub New ()
Atributos

Aplica-se a

AsyncCompletedEventArgs(Exception, Boolean, Object)

Inicializa uma nova instância da classe AsyncCompletedEventArgs.Initializes a new instance of the AsyncCompletedEventArgs class.

public:
 AsyncCompletedEventArgs(Exception ^ error, bool cancelled, System::Object ^ userState);
public AsyncCompletedEventArgs (Exception error, bool cancelled, object userState);
public AsyncCompletedEventArgs (Exception? error, bool cancelled, object? userState);
new System.ComponentModel.AsyncCompletedEventArgs : Exception * bool * obj -> System.ComponentModel.AsyncCompletedEventArgs
Public Sub New (error As Exception, cancelled As Boolean, userState As Object)

Parâmetros

error
Exception

Qualquer erro que tenha ocorrido durante a operação assíncrona.Any error that occurred during the asynchronous operation.

cancelled
Boolean

Um valor que indica se a operação assíncrona foi cancelada.A value indicating whether the asynchronous operation was canceled.

userState
Object

O objeto de estado fornecido pelo usuário opcional passado para o método RunWorkerAsync(Object).The optional user-supplied state object passed to the RunWorkerAsync(Object) method.

Aplica-se a