AccessOpenDataSource..::..ExecuteStreamAsync Method
Executes the stream asynchronous.
Namespace:
Tortuga.Chain.AccessAssembly: Tortuga.Chain.Access (in Tortuga.Chain.Access.dll)
Syntax
public Task<StreamingCommandCompletionToken> ExecuteStreamAsync( CommandExecutionToken<OleDbCommand, OleDbParameter> executionToken, StreamingCommandImplementationAsync<OleDbCommand> implementation, CancellationToken cancellationToken, Nullable<Object> state )
Public Function ExecuteStreamAsync ( _ executionToken As CommandExecutionToken(Of OleDbCommand, OleDbParameter), _ implementation As StreamingCommandImplementationAsync(Of OleDbCommand), _ cancellationToken As CancellationToken, _ state As Nullable(Of Object) _ ) As Task(Of StreamingCommandCompletionToken)
public: Task<StreamingCommandCompletionToken^>^ ExecuteStreamAsync( CommandExecutionToken<OleDbCommand^, OleDbParameter^>^ executionToken, StreamingCommandImplementationAsync<OleDbCommand^>^ implementation, CancellationToken^ cancellationToken, Nullable<Object^> state )
Parameters
- executionToken
- Type: Tortuga.Chain.Core..::..CommandExecutionToken<(Of <(<'OleDbCommand, OleDbParameter>)>)>
The execution token.
- implementation
- Type: Tortuga.Chain.Core..::..StreamingCommandImplementationAsync<(Of <(<'OleDbCommand>)>)>
The implementation.
- cancellationToken
- Type: CancellationToken
The cancellation token that can be used by other objects or threads to receive notice of cancellation.