Sdílet prostřednictvím


RunWorkerCompletedEventArgs(Object, Exception, Boolean) Konstruktor

Definice

Inicializuje novou instanci RunWorkerCompletedEventArgs třídy .

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

Parametry

result
Object

Výsledek asynchronní operace.

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.

Platí pro

Viz také