AsyncCompletedEventArgs Constructeurs

Définition

Initialise une nouvelle instance de la classe AsyncCompletedEventArgs.

Surcharges

AsyncCompletedEventArgs()
Obsolète.

Initialise une nouvelle instance de la classe AsyncCompletedEventArgs.

AsyncCompletedEventArgs(Exception, Boolean, Object)

Initialise une nouvelle instance de la classe AsyncCompletedEventArgs.

AsyncCompletedEventArgs()

Attention

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

Initialise une nouvelle instance de la classe 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 ()
Attributs

S’applique à

AsyncCompletedEventArgs(Exception, Boolean, Object)

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

Initialise une nouvelle instance de la classe 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)

Paramètres

error
Exception

Toute erreur qui s'est produite pendant l'opération asynchrone.

cancelled
Boolean

Valeur qui indique si l'opération asynchrone a été annulée.

userState
Object

L'objet d'état fourni par l'utilisateur facultatif est passé à la méthode RunWorkerAsync(Object).

S’applique à