Click or drag to resize

QueryOptionsCancellationToken Method

Set the CancellationToken(CancellationToken) which will cancel the query if it is incomplete.

Namespace:  Couchbase.Query
Assembly:  Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 3.0.0-local-202004010202+047adc0837bfc29c0b8cce4322194a09afd8ea18
Syntax
C#
public QueryOptions CancellationToken(
	CancellationToken cancellationToken
)

Parameters

cancellationToken
Type: System.ThreadingCancellationToken
The CancellationToken(CancellationToken).

Return Value

Type: QueryOptions
A reference to the current QueryOptions for method chaining.
See Also