Click or drag to resize
DseClusterBuilderWithQueryTimeout Method
Specifies the number of milliseconds that the driver should wait for the response before the query times out in a synchronous operation.

This will cause that synchronous operations like Execute(String) to throw a TimeoutException after the specified number of milliseconds.

Default timeout value is set to
20,000
(20 seconds).

Namespace: Dse
Assembly: Dse (in Dse.dll) Version: 1.0.0.0
Syntax
C#
public DseClusterBuilder WithQueryTimeout(
	int queryAbortTimeout
)

Parameters

queryAbortTimeout
Type: SystemInt32
Timeout specified in milliseconds.

Return Value

Type: DseClusterBuilder
this builder
Remarks
If you want to define a read timeout at a lower level, you can use SetReadTimeoutMillis(Int32).
See Also