AccessDataSource..::..ExecuteStream Method
Executes the stream.
Namespace:
Tortuga.ChainAssembly: Tortuga.Chain.Access (in Tortuga.Chain.Access.dll)
Syntax
[SuppressMessageAttribute] public StreamingCommandCompletionToken ExecuteStream( CommandExecutionToken<OleDbCommand, OleDbParameter> executionToken, StreamingCommandImplementation<OleDbCommand> implementation, Nullable<Object> state )
<SuppressMessageAttribute> _ Public Function ExecuteStream ( _ executionToken As CommandExecutionToken(Of OleDbCommand, OleDbParameter), _ implementation As StreamingCommandImplementation(Of OleDbCommand), _ state As Nullable(Of Object) _ ) As StreamingCommandCompletionToken
[SuppressMessageAttribute] public: StreamingCommandCompletionToken^ ExecuteStream( CommandExecutionToken<OleDbCommand^, OleDbParameter^>^ executionToken, StreamingCommandImplementation<OleDbCommand^>^ implementation, Nullable<Object^> state )
Parameters
- executionToken
- Type: Tortuga.Chain.Core..::..CommandExecutionToken<(Of <(<'OleDbCommand, OleDbParameter>)>)>
The execution token.
- implementation
- Type: Tortuga.Chain.Core..::..StreamingCommandImplementation<(Of <(<'OleDbCommand>)>)>
The implementation.
Return Value
StreamingCommandCompletionToken.Exceptions
Exception | Condition |
---|---|
ArgumentNullException | executionToken |
ArgumentNullException | implementation |
ArgumentNullException | executionToken - only AccessCommandExecutionToken is supported. |
InvalidOperationException | currentToken.ExecutionMode is ExecuteScalarAndForward, but currentToken.ForwardResult is null. |