AsyncCompletedEventArgs Constructeurs

Définition

Initialise une nouvelle instance de la classe AsyncCompletedEventArgs.

Surcharges

Nom Description
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)

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);
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 indiquant si l’opération asynchrone a été annulée.

userState
Object

Objet d’état facultatif fourni par l’utilisateur passé à la RunWorkerAsync(Object) méthode.

S’applique à