DataConnector | ComponentOne
C1.AdoNet.GoogleAnalytics Assembly / C1.AdoNet.GoogleAnalytics Namespace / C1GoogleAnalyticsCommand Class / ExecuteDbDataReaderAsync Method
An instance of System.Data.CommandBehavior.
The cancellation token to abort the query execution at any moment.

In This Topic
    ExecuteDbDataReaderAsync Method (C1GoogleAnalyticsCommand)
    In This Topic
    An asynchronous version of method C1.DataConnector.AdoNet.C1CommandBase.ExecuteDbDataReader that executes the command text against the connection.
    Syntax
    'Declaration
     
    Protected Function ExecuteDbDataReaderAsync( _
       ByVal behavior As CommandBehavior, _
       ByVal cancellationToken As CancellationToken _
    ) As Task(Of DbDataReader)
    protected Task<DbDataReader> ExecuteDbDataReaderAsync( 
       CommandBehavior behavior,
       CancellationToken cancellationToken
    )

    Parameters

    behavior
    An instance of System.Data.CommandBehavior.
    cancellationToken
    The cancellation token to abort the query execution at any moment.

    Return Value

    A task representing the asynchronous operation. The task generic parameter is a DbDataReader representing the table result of the query execution.
    See Also