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

一个指示异步操作是否已被取消的值。

适用于

另请参阅