AsyncCompletedEventArgs Konstruktory

Definice

Inicializuje novou instanci AsyncCompletedEventArgs třídy .

Přetížení

AsyncCompletedEventArgs()
Zastaralé.

Inicializuje novou instanci AsyncCompletedEventArgs třídy .

AsyncCompletedEventArgs(Exception, Boolean, Object)

Inicializuje novou instanci AsyncCompletedEventArgs třídy .

AsyncCompletedEventArgs()

Upozornění

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

Inicializuje novou instanci AsyncCompletedEventArgs třídy .

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 ()
Atributy

Platí pro

AsyncCompletedEventArgs(Exception, Boolean, Object)

Zdroj:
AsyncCompletedEvent.cs
Zdroj:
AsyncCompletedEvent.cs
Zdroj:
AsyncCompletedEvent.cs

Inicializuje novou instanci AsyncCompletedEventArgs třídy .

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)

Parametry

error
Exception

Všechny chyby, ke kterým došlo během asynchronní operace.

cancelled
Boolean

Hodnota označující, zda byla asynchronní operace zrušena.

userState
Object

Volitelný uživatelem zadaný objekt stavu předaný RunWorkerAsync(Object) metodě .

Platí pro