Click or drag to resize

SessionExecuteGraphAsync Method (IGraphStatement, String)

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

Namespace:  Cassandra
Assembly:  Cassandra (in Cassandra.dll) Version: 3.13.0
Syntax
C#
public Task<GraphResultSet> ExecuteGraphAsync(
	IGraphStatement graphStatement,
	string executionProfileName
)

Parameters

graphStatement
Type: Cassandra.DataStax.GraphIGraphStatement
executionProfileName
Type: SystemString
The graph execution profile name to use while executing this statement.

Return Value

Type: TaskGraphResultSet

Implements

ISessionExecuteGraphAsync(IGraphStatement, String)
Examples
Task<GraphResultSet$gt; task = session.ExecuteGraphAsync(new SimpleGraphStatement("g.V()"), "graphProfile");
See Also