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:  Dse
Assembly:  Dse (in Dse.dll) Version: 2.9.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