Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Represents the method that is called when an asynchronous command ends.
Namespace: Microsoft.VisualStudio.Data
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'Declaration
Public Delegate Sub DataAsyncCommandEndEventHandler ( _
result As Object _
)
'Usage
Dim instance As New DataAsyncCommandEndEventHandler(AddressOf HandlerMethod)
public delegate void DataAsyncCommandEndEventHandler(
Object result
)
public delegate void DataAsyncCommandEndEventHandler(
Object^ result
)
JScript does not support delegates.
Parameters
result
Type: System.ObjectThe value returned by the command.
Remarks
This delegate is called when an asynchronous method call made to a DataAsyncCommand object has completed execution.
The result is always equal to the return value for the equivalent synchronous method, as follows:
The AsyncPrepare method returns a String object
The AsyncDeriveParameters method returns a DataParameter object.
The AsyncDeriveSchema method returns a DataReader object.
The AsyncExecutemethod returns a DataReader object.
The AsyncExecuteWithoutResults method returns a Int32 object.