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