Gets a Task that can be awaited on for a given Key and value.
Namespace: Couchbase.CoreAssembly: Couchbase (in Couchbase.dll) Version: 1.0.0.0 (1.0.0.0)
SyntaxTask<IOperationResult<T>> GetAsync<T>(
string key
)
Function GetAsync(Of T) (
key As String
) As Task(Of IOperationResult(Of T))
generic<typename T>
Task<IOperationResult<T>^>^ GetAsync(
String^ key
)
abstract GetAsync :
key : string -> Task<IOperationResult<'T>>
Parameters
- key
- Type: SystemString
The unique Key to use to lookup the value.
Type Parameters
- T
- The Type of the value object to be retrieved.
Return Value
Type:
TaskIOperationResultTA Task that can be awaited on for it's
IOperationResultT value.
See Also