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

Namespace: Couchbase.Core
Assembly: Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 2.0.1.0 (2.0.1.0)
Syntax
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.
See Also