'Declaration Public Overloads Shadows Function ExecuteReaderAsync( _ ByVal behavior As CommandBehavior, _ ByVal cancellationToken As CancellationToken _ ) As Task(Of TdDataReader)
'Usage Dim instance As TdCommand Dim behavior As CommandBehavior Dim cancellationToken As CancellationToken Dim value As Task(Of TdDataReader) value = instance.ExecuteReaderAsync(behavior, cancellationToken)
public new Task<TdDataReader> ExecuteReaderAsync( CommandBehavior behavior, CancellationToken cancellationToken )
public: new Task<TdDataReader^>^ ExecuteReaderAsync( CommandBehavior behavior, CancellationToken cancellationToken )
Parameters
- behavior
- One of the Data.CommandBehavior enumerations values.
- cancellationToken
- A Threading.CancellationToken used to indicate that the asynchronous operation should be canceled.