Compartir a través de


AsyncCompletedEventArgs Constructores

Definición

Inicializa una nueva instancia de la clase AsyncCompletedEventArgs.

Sobrecargas

AsyncCompletedEventArgs()
Obsoletos.

Inicializa una nueva instancia de la clase AsyncCompletedEventArgs.

AsyncCompletedEventArgs(Exception, Boolean, Object)

Inicializa una nueva instancia de la clase AsyncCompletedEventArgs.

AsyncCompletedEventArgs()

Precaución

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

Inicializa una nueva instancia de la clase AsyncCompletedEventArgs.

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

Se aplica a

AsyncCompletedEventArgs(Exception, Boolean, Object)

Source:
AsyncCompletedEvent.cs
Source:
AsyncCompletedEvent.cs
Source:
AsyncCompletedEvent.cs

Inicializa una nueva instancia de la clase AsyncCompletedEventArgs.

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

Cualquier error que se haya producido durante la operación asincrónica.

cancelled
Boolean

Valor que indica si se canceló la operación asincrónica.

userState
Object

Objeto de estado opcional proporcionado por el usuario que se ha pasado al método RunWorkerAsync(Object).

Se aplica a