Share via


SqliteCommand.ExecuteReaderAsync Method

Definition

Overloads

ExecuteReaderAsync()

Executes the CommandText asynchronously against the database and returns a data reader.

ExecuteReaderAsync(CommandBehavior)

Executes the CommandText asynchronously against the database and returns a data reader.

ExecuteReaderAsync(CancellationToken)

Executes the CommandText asynchronously against the database and returns a data reader.

ExecuteReaderAsync(CommandBehavior, CancellationToken)

Executes the CommandText asynchronously against the database and returns a data reader.

ExecuteReaderAsync()

Source:
SqliteCommand.cs
Source:
SqliteCommand.cs
Source:
SqliteCommand.cs
Source:
SqliteCommand.cs
Source:
SqliteCommand.cs
Source:
SqliteCommand.cs
Source:
SqliteCommand.cs
Source:
SqliteCommand.cs
Source:
SqliteCommand.cs
Source:
SqliteCommand.cs

Executes the CommandText asynchronously against the database and returns a data reader.

public virtual System.Threading.Tasks.Task<Microsoft.Data.Sqlite.SqliteDataReader> ExecuteReaderAsync ();
override this.ExecuteReaderAsync : unit -> System.Threading.Tasks.Task<Microsoft.Data.Sqlite.SqliteDataReader>
Public Overridable Function ExecuteReaderAsync () As Task(Of SqliteDataReader)

Returns

A task representing the asynchronous operation.

Remarks

SQLite does not support asynchronous execution. Use write-ahead logging instead.

Applies to

ExecuteReaderAsync(CommandBehavior)

Source:
SqliteCommand.cs
Source:
SqliteCommand.cs
Source:
SqliteCommand.cs
Source:
SqliteCommand.cs
Source:
SqliteCommand.cs
Source:
SqliteCommand.cs
Source:
SqliteCommand.cs
Source:
SqliteCommand.cs
Source:
SqliteCommand.cs
Source:
SqliteCommand.cs

Executes the CommandText asynchronously against the database and returns a data reader.

public virtual System.Threading.Tasks.Task<Microsoft.Data.Sqlite.SqliteDataReader> ExecuteReaderAsync (System.Data.CommandBehavior behavior);
override this.ExecuteReaderAsync : System.Data.CommandBehavior -> System.Threading.Tasks.Task<Microsoft.Data.Sqlite.SqliteDataReader>
Public Overridable Function ExecuteReaderAsync (behavior As CommandBehavior) As Task(Of SqliteDataReader)

Parameters

behavior
CommandBehavior

A description of query's results and its effect on the database.

Returns

A task representing the asynchronous operation.

Remarks

SQLite does not support asynchronous execution. Use write-ahead logging instead.

Applies to

ExecuteReaderAsync(CancellationToken)

Source:
SqliteCommand.cs
Source:
SqliteCommand.cs
Source:
SqliteCommand.cs
Source:
SqliteCommand.cs
Source:
SqliteCommand.cs
Source:
SqliteCommand.cs
Source:
SqliteCommand.cs
Source:
SqliteCommand.cs
Source:
SqliteCommand.cs
Source:
SqliteCommand.cs

Executes the CommandText asynchronously against the database and returns a data reader.

public virtual System.Threading.Tasks.Task<Microsoft.Data.Sqlite.SqliteDataReader> ExecuteReaderAsync (System.Threading.CancellationToken cancellationToken);
override this.ExecuteReaderAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Data.Sqlite.SqliteDataReader>
Public Overridable Function ExecuteReaderAsync (cancellationToken As CancellationToken) As Task(Of SqliteDataReader)

Parameters

cancellationToken
CancellationToken

The token to monitor for cancellation requests.

Returns

A task representing the asynchronous operation.

Exceptions

Remarks

SQLite does not support asynchronous execution. Use write-ahead logging instead.

Applies to

ExecuteReaderAsync(CommandBehavior, CancellationToken)

Source:
SqliteCommand.cs
Source:
SqliteCommand.cs
Source:
SqliteCommand.cs
Source:
SqliteCommand.cs
Source:
SqliteCommand.cs
Source:
SqliteCommand.cs
Source:
SqliteCommand.cs
Source:
SqliteCommand.cs
Source:
SqliteCommand.cs
Source:
SqliteCommand.cs

Executes the CommandText asynchronously against the database and returns a data reader.

public virtual System.Threading.Tasks.Task<Microsoft.Data.Sqlite.SqliteDataReader> ExecuteReaderAsync (System.Data.CommandBehavior behavior, System.Threading.CancellationToken cancellationToken);
override this.ExecuteReaderAsync : System.Data.CommandBehavior * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Data.Sqlite.SqliteDataReader>
Public Overridable Function ExecuteReaderAsync (behavior As CommandBehavior, cancellationToken As CancellationToken) As Task(Of SqliteDataReader)

Parameters

behavior
CommandBehavior

A description of query's results and its effect on the database.

cancellationToken
CancellationToken

The token to monitor for cancellation requests.

Returns

A task representing the asynchronous operation.

Exceptions

Remarks

SQLite does not support asynchronous execution. Use write-ahead logging instead.

Applies to