Removes a document for a given key from the database as an asynchronous operation.
Namespace: CouchbaseAssembly: Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 0.0.0.0 (0.0.0.0)
Syntaxpublic Task<IOperationResult> RemoveAsync(
string key,
ulong cas
)
public Task<IOperationResult> RemoveAsync(
string key,
ulong cas
)
Public Function RemoveAsync (
key As String,
cas As ULong
) As Task(Of IOperationResult)
Public Function RemoveAsync (
key As String,
cas As ULong
) As Task(Of IOperationResult)
public:
virtual Task<IOperationResult^>^ RemoveAsync(
String^ key,
unsigned long long cas
) sealed
public:
virtual Task<IOperationResult^>^ RemoveAsync(
String^ key,
unsigned long long cas
) sealed
abstract RemoveAsync :
key : string *
cas : uint64 -> Task<IOperationResult>
override RemoveAsync :
key : string *
cas : uint64 -> Task<IOperationResult>
abstract RemoveAsync :
key : string *
cas : uint64 -> Task<IOperationResult>
override RemoveAsync :
key : string *
cas : uint64 -> Task<IOperationResult>
Parameters
- key
- Type: System.String
The key to remove from the database
- cas
- Type: System.UInt64
The CAS (Check and Set) value for optimistic concurrency.
Return Value
Type:
Task<IOperationResult>
The
Task<TResult> object representing the asynchronous operation.
Implements
IBucket.RemoveAsync(String, UInt64)
See Also