Class DropBucketOptions
Inheritance
DropBucketOptions
Assembly: Couchbase.NetClient.dll
Syntax
public class DropBucketOptions : object
Properties
|
Improve this Doc
View Source
Default
Declaration
public static DropBucketOptions Default { get; }
Property Value
|
Improve this Doc
View Source
DefaultReadOnly
Declaration
public static DropBucketOptions.ReadOnly DefaultReadOnly { get; }
Property Value
Methods
|
Improve this Doc
View Source
AsReadOnly()
Declaration
public DropBucketOptions.ReadOnly AsReadOnly()
Returns
|
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 DropBucketOptions CancellationToken(CancellationToken token)
Parameters
Type |
Name |
Description |
CancellationToken |
token |
The Token to cancel the operation.
|
Returns
|
Improve this Doc
View Source
Deconstruct(out CancellationToken)
Declaration
public void Deconstruct(out CancellationToken tokenValue)
Parameters
Type |
Name |
Description |
CancellationToken |
tokenValue |
|
|
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 DropBucketOptions Timeout(TimeSpan timeout)
Parameters
Type |
Name |
Description |
TimeSpan |
timeout |
The duration of the Timeout. see ClusterOptions for the default value.
|
Returns