'Declaration Public Overloads Function BeginExecuteReader( _ ByVal callback As AsyncCallback, _ ByVal state As Object, _ ByVal behavior As CommandBehavior _ ) As IAsyncResult
'Usage Dim instance As TdCommand Dim callback As AsyncCallback Dim state As Object Dim behavior As CommandBehavior Dim value As IAsyncResult value = instance.BeginExecuteReader(callback, state, behavior)
public IAsyncResult BeginExecuteReader( AsyncCallback callback, object state, CommandBehavior behavior )
public: IAsyncResult^ BeginExecuteReader( AsyncCallback^ callback, Object^ state, CommandBehavior behavior )
Parameters
- callback
- Delegate that will be invoked after the processing of the request has completed. If one is not required a
null
is specified. - state
- User defined object. This object is available to the callback procedure by accessing the IAsyncResult.AsyncState property.
- behavior
- One of the Data.CommandBehavior enumerations values.