Click or drag to resize
StatementSetRetryPolicy Method
Sets the retry policy to use for this query.

Calling this method is only required when you want to override the default RetryPolicy set in the cluster configuration for this request.

Use a IExtendedRetryPolicy implementation to cover all error scenarios.

Namespace: Dse
Assembly: Dse (in Dse.dll) Version: 2.1.0
Syntax
C#
public IStatement SetRetryPolicy(
	IRetryPolicy policy
)

Parameters

policy
Type: DseIRetryPolicy
The retry policy to use for this query.

Return Value

Type: IStatement
this IStatement instance.

Implements

IStatementSetRetryPolicy(IRetryPolicy)
See Also