MsDb2Command.ExecuteReaderAsync Method

Definition

Overloads

ExecuteReaderAsync(CommandBehavior, CancellationToken)
ExecuteReaderAsync(CancellationToken)
ExecuteReaderAsync()
ExecuteReaderAsync(CommandBehavior)

ExecuteReaderAsync(CommandBehavior, CancellationToken)

public:
 System::Threading::Tasks::Task<Microsoft::HostIntegration::MsDb2Client::MsDb2DataReader ^> ^ ExecuteReaderAsync(System::Data::CommandBehavior behavior, System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.Task<Microsoft.HostIntegration.MsDb2Client.MsDb2DataReader> ExecuteReaderAsync (System.Data.CommandBehavior behavior, System.Threading.CancellationToken cancellationToken);
override this.ExecuteReaderAsync : System.Data.CommandBehavior * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.HostIntegration.MsDb2Client.MsDb2DataReader>

Parameters

behavior
CommandBehavior
cancellationToken
CancellationToken

Returns

Task<MsDb2DataReader>

Applies to

ExecuteReaderAsync(CancellationToken)

public:
 System::Threading::Tasks::Task<Microsoft::HostIntegration::MsDb2Client::MsDb2DataReader ^> ^ ExecuteReaderAsync(System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.Task<Microsoft.HostIntegration.MsDb2Client.MsDb2DataReader> ExecuteReaderAsync (System.Threading.CancellationToken cancellationToken);
override this.ExecuteReaderAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.HostIntegration.MsDb2Client.MsDb2DataReader>

Parameters

cancellationToken
CancellationToken

Returns

Task<MsDb2DataReader>

Applies to

ExecuteReaderAsync()

public:
 System::Threading::Tasks::Task<Microsoft::HostIntegration::MsDb2Client::MsDb2DataReader ^> ^ ExecuteReaderAsync();
public System.Threading.Tasks.Task<Microsoft.HostIntegration.MsDb2Client.MsDb2DataReader> ExecuteReaderAsync ();
override this.ExecuteReaderAsync : unit -> System.Threading.Tasks.Task<Microsoft.HostIntegration.MsDb2Client.MsDb2DataReader>
Public Function ExecuteReaderAsync () As Task(Of MsDb2DataReader)

Returns

Task<MsDb2DataReader>

Applies to

ExecuteReaderAsync(CommandBehavior)

public:
 System::Threading::Tasks::Task<Microsoft::HostIntegration::MsDb2Client::MsDb2DataReader ^> ^ ExecuteReaderAsync(System::Data::CommandBehavior behavior);
public System.Threading.Tasks.Task<Microsoft.HostIntegration.MsDb2Client.MsDb2DataReader> ExecuteReaderAsync (System.Data.CommandBehavior behavior);
override this.ExecuteReaderAsync : System.Data.CommandBehavior -> System.Threading.Tasks.Task<Microsoft.HostIntegration.MsDb2Client.MsDb2DataReader>
Public Function ExecuteReaderAsync (behavior As CommandBehavior) As Task(Of MsDb2DataReader)

Parameters

behavior
CommandBehavior

Returns

Task<MsDb2DataReader>

Applies to