Click or drag to resize

ISessionExecuteAsync Method (IStatement, String)

Executes a query asynchronously with the provided execution profile. The execution profile must have been added previously to the Cluster using WithExecutionProfiles(ActionIExecutionProfileOptions).

Namespace:  Cassandra
Assembly:  Cassandra (in Cassandra.dll) Version: 3.11.0
Syntax
C#
Task<RowSet> ExecuteAsync(
	IStatement statement,
	string executionProfileName
)

Parameters

statement
Type: CassandraIStatement
The statement to execute (simple, bound or batch statement)
executionProfileName
Type: SystemString
ExecutionProfile name to be used while executing the statement.

Return Value

Type: TaskRowSet
A task representing the asynchronous operation.
See Also