CouchbaseBucket.GetAsync<T> Method Couchbase .NET SDK 2.0
Gets a Task that can be awaited on for a given Key and value.

Namespace: Couchbase
Assembly: Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
public Task<IOperationResult<T>> GetAsync<T>(
	string key
)

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.

Implements

IBucket.GetAsync<T>(String)
See Also