StreamingCommandCompletionToken Constructor
Initializes a new instance of the StreamingCommandCompletionToken class.
Namespace:
Tortuga.Chain.CoreAssembly: Tortuga.Chain.Core (in Tortuga.Chain.Core.dll)
Syntax
public StreamingCommandCompletionToken( DataSource dataSource, ExecutionToken executionToken, DateTimeOffset startTime, Nullable<Object> state, Nullable<DbCommand> command, Nullable<DbConnection> connection )
Public Sub New ( _ dataSource As DataSource, _ executionToken As ExecutionToken, _ startTime As DateTimeOffset, _ state As Nullable(Of Object), _ command As Nullable(Of DbCommand), _ connection As Nullable(Of DbConnection) _ )
public: StreamingCommandCompletionToken( DataSource^ dataSource, ExecutionToken^ executionToken, DateTimeOffset^ startTime, Nullable<Object^> state, Nullable<DbCommand^> command, Nullable<DbConnection^> connection )
Parameters
- dataSource
- Type: Tortuga.Chain.DataSources..::..DataSource
The data source. Used to fire completed events.
- executionToken
- Type: Tortuga.Chain.Core..::..ExecutionToken
The execution token.
- startTime
- Type: DateTimeOffset
The start time.
- connection
- Type: Nullable<(Of <(<'DbConnection>)>)>
If the data source wants the caller to close the DbConnection, it will be provided here.