AsyncCompletedEventArgs 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 AsyncCompletedEventArgs 类的新实例。
重载
AsyncCompletedEventArgs() |
已过时.
初始化 AsyncCompletedEventArgs 类的新实例。 |
AsyncCompletedEventArgs(Exception, Boolean, Object) |
初始化 AsyncCompletedEventArgs 类的新实例。 |
AsyncCompletedEventArgs()
注意
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
初始化 AsyncCompletedEventArgs 类的新实例。
public:
AsyncCompletedEventArgs();
[System.Obsolete("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)]
public AsyncCompletedEventArgs ();
Public Sub New ()
- 属性
适用于
AsyncCompletedEventArgs(Exception, Boolean, Object)
- Source:
- AsyncCompletedEvent.cs
- Source:
- AsyncCompletedEvent.cs
- Source:
- AsyncCompletedEvent.cs
初始化 AsyncCompletedEventArgs 类的新实例。
public:
AsyncCompletedEventArgs(Exception ^ error, bool cancelled, System::Object ^ userState);
public AsyncCompletedEventArgs (Exception error, bool cancelled, object userState);
public AsyncCompletedEventArgs (Exception? error, bool cancelled, object? userState);
new System.ComponentModel.AsyncCompletedEventArgs : Exception * bool * obj -> System.ComponentModel.AsyncCompletedEventArgs
Public Sub New (error As Exception, cancelled As Boolean, userState As Object)
参数
- error
- Exception
在异步操作期间发生的任何错误。
- cancelled
- Boolean
一个指示异步操作是否已被取消的值。
- userState
- Object
传递给 RunWorkerAsync(Object) 方法的、用户提供的可选状态对象。