Class GetScopeOptions
Inheritance
GetScopeOptions
Assembly: Couchbase.NetClient.dll
Syntax
public class GetScopeOptions : object
Properties
|
Improve this Doc
View Source
Default
Declaration
public static GetScopeOptions Default { get; }
Property Value
Methods
|
Improve this Doc
View Source
CancellationToken(CancellationToken)
Allows to pass in a custom CancellationToken from a CancellationTokenSource.
Note that issuing a CancellationToken will replace the Timeout if previously set.
Declaration
public GetScopeOptions CancellationToken(CancellationToken token)
Parameters
Type |
Name |
Description |
CancellationToken |
token |
The Token to cancel the operation.
|
Returns
|
Improve this Doc
View Source
Timeout(TimeSpan)
Allows to set a Timeout for the operation.
Note that issuing a Timeout will replace the CancellationToken if previously set.
Declaration
public GetScopeOptions Timeout(TimeSpan timeout)
Parameters
Type |
Name |
Description |
TimeSpan |
timeout |
The duration of the Timeout. see ClusterOptions for the default value.
|
Returns