다음을 통해 공유


DataAsyncCommandCompletedEventArgs<T> Constructor

Initializes a new instance of the DataAsyncCommandCompletedEventArgs<T> class with the specified parameters.

Namespace:  Microsoft.VisualStudio.Data.Services.SupportEntities
Assembly:  Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)

Syntax

‘선언
Public Sub New ( _
    error As Exception, _
    cancelled As Boolean, _
    returnValue As T, _
    userState As Object _
)
public DataAsyncCommandCompletedEventArgs(
    Exception error,
    bool cancelled,
    T returnValue,
    Object userState
)
public:
DataAsyncCommandCompletedEventArgs(
    Exception^ error, 
    bool cancelled, 
    T returnValue, 
    Object^ userState
)
new : 
        error:Exception * 
        cancelled:bool * 
        returnValue:'T * 
        userState:Object -> DataAsyncCommandCompletedEventArgs
public function DataAsyncCommandCompletedEventArgs(
    error : Exception, 
    cancelled : boolean, 
    returnValue : T, 
    userState : Object
)

Parameters

  • error
    Type: System.Exception
    The exception that occurred during the operation execution, if any.
  • cancelled
    Type: System.Boolean
    A Boolean value indicating whether the operation was cancelled.
  • returnValue
    Type: T
    The return value of the executed operation.
  • userState
    Type: System.Object
    A unique identifier for the asynchronous process.

.NET Framework Security

See Also

Reference

DataAsyncCommandCompletedEventArgs<T> Class

Microsoft.VisualStudio.Data.Services.SupportEntities Namespace