共用方式為


RunWorkerCompletedEventArgs(Object, Exception, Boolean) 建構函式

定義

初始化 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)

參數

result
Object

非同步作業的結果。

error
Exception

非同步作業期間發生的任何錯誤。

cancelled
Boolean

指出非同步作業是否取消的值。

適用於

另請參閱