RunWorkerCompletedEventArgs(Object, Exception, Boolean) 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 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
指出非同步作業是否取消的值。