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
一个指示异步操作是否已被取消的值。