AsyncStatementExecuteAsync Method (IAsyncStatement, CancellationToken, Object) |
Executes the
IStatement with provided bind parameter values.
Namespace: SQLitePCL.prettyAssembly: SQLitePCL.pretty.Async (in SQLitePCL.pretty.Async.dll) Version: 1.0.0.0 (1.0.0)
Syntax public static Task ExecuteAsync(
this IAsyncStatement This,
CancellationToken cancellationToken,
params Object[] values
)
[<ExtensionAttribute>]
static member ExecuteAsync :
This : IAsyncStatement *
cancellationToken : CancellationToken *
values : Object[] -> Task
Parameters
- This
- Type: SQLitePCL.prettyIAsyncStatement
The async statement. - cancellationToken
- Type: System.ThreadingCancellationToken
Cancellation token that can be used to cancel the task. - values
- Type: SystemObject
The position indexed values to bind.
Return Value
Type:
TaskA
Task that completes when the statement is executed.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IAsyncStatement. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also