Click or drag to resize

IExecutionProfileOptionsWithProfile Method

Adds an execution profile to this ExecutionProfileOptions instance. The name that is provided here is the name that must be provided to the several driver APIs that support execution profiles like ExecuteAsync(IStatement, String) or WithExecutionProfile(String).

Namespace:  Cassandra
Assembly:  Cassandra (in Cassandra.dll) Version: 3.11.0
Syntax
C#
IExecutionProfileOptions WithProfile(
	string name,
	Action<IExecutionProfileBuilder> profileBuildAction
)

Parameters

name
Type: SystemString
Name of the execution profile.
profileBuildAction
Type: SystemActionIExecutionProfileBuilder
Execution Profile builder.

Return Value

Type: IExecutionProfileOptions
See Also