DataAsyncCommandCompletedEventArgs<T> 构造函数

定义

使用指定的参数初始化 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

异步进程的唯一标识符。

适用于