DataAsyncCommandCompletedEventArgs<T> Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the DataAsyncCommandCompletedEventArgs<T> class with the specified parameters.
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)
Parameters
- error
- Exception
The exception that occurred during the operation execution, if any.
- cancelled
- Boolean
A Boolean value indicating whether the operation was cancelled.
- returnValue
- T
The return value of the executed operation.
- userState
- Object
A unique identifier for the asynchronous process.