DataAsyncCommandCompletedEventArgs<T> 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
使用指定的参数初始化 DataAsyncCommandCompletedEventArgs<T> 类的新实例。
public:
DataAsyncCommandCompletedEventArgs(Exception ^ error, bool cancelled, T returnValue, System::Object ^ userState);
public DataAsyncCommandCompletedEventArgs (Exception error, bool cancelled, T returnValue, object userState);
new Microsoft.VisualStudio.Data.Services.SupportEntities.DataAsyncCommandCompletedEventArgs<'T> : Exception * bool * 'T * obj -> Microsoft.VisualStudio.Data.Services.SupportEntities.DataAsyncCommandCompletedEventArgs<'T>
Public Sub New (error As Exception, cancelled As Boolean, returnValue As T, userState As Object)
参数
- error
- Exception
在执行操作的过程中发生的异常(如果有)。
- cancelled
- Boolean
指示操作是否已取消的布尔值。
- returnValue
- T
已执行操作的返回值。
- userState
- Object
异步进程的唯一标识符。