Bagikan melalui


RunWorkerCompletedEventArgs(Object, Exception, Boolean) Konstruktor

Definisi

Menginisialisasi instans baru kelas RunWorkerCompletedEventArgs.

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)

Parameter

result
Object

Hasil dari operasi asinkron.

error
Exception

Kesalahan apa pun yang terjadi selama operasi asinkron.

cancelled
Boolean

Nilai yang menunjukkan apakah operasi asinkron dibatalkan.

Berlaku untuk

Lihat juga