Removes a document 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<T>(
IDocument<T> document
)
public Task<IOperationResult> RemoveAsync<T>(
IDocument<T> document
)
Public Function RemoveAsync(Of T) (
document As IDocument(Of T)
) As Task(Of IOperationResult)
Public Function RemoveAsync(Of T) (
document As IDocument(Of T)
) As Task(Of IOperationResult)
public:
generic<typename T>
virtual Task<IOperationResult^>^ RemoveAsync(
IDocument<T>^ document
) sealed
public:
generic<typename T>
virtual Task<IOperationResult^>^ RemoveAsync(
IDocument<T>^ document
) sealed
abstract RemoveAsync :
document : IDocument<'T> -> Task<IOperationResult>
override RemoveAsync :
document : IDocument<'T> -> Task<IOperationResult>
abstract RemoveAsync :
document : IDocument<'T> -> Task<IOperationResult>
override RemoveAsync :
document : IDocument<'T> -> Task<IOperationResult>
Parameters
- document
- Type: Couchbase.IDocument<T>
The IDocument<T> to remove from the database.
Type Parameters- T
- The type T of the object.
Return Value
Type:
Task<IOperationResult>
The
Task<TResult> object representing the asynchronous operation.
Implements
IBucket.RemoveAsync<T>(IDocument<T>)
See Also