DataAsyncCommandEndEventHandler Delegate
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
‘선언
Public Delegate Sub DataAsyncCommandEndEventHandler ( _
result As Object _
)
public delegate void DataAsyncCommandEndEventHandler(
Object result
)
public delegate void DataAsyncCommandEndEventHandler(
Object^ result
)
type DataAsyncCommandEndEventHandler =
delegate of
result:Object -> unit
JScript does not support delegates.
Parameters
- result
Type: System.Object
The 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.