IBucket GetAndTouchAsync T  Method Couchbase .NET SDK 2.1.0 Documentation
Retrieves a value by key and additionally updates the expiry with a new value as an asynchronous operation.

Namespace: Couchbase.Core
Assembly: Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 2.1.0.0 (2.1.0.0)
Syntax
Task<IOperationResult<T>> GetAndTouchAsync<T>(
	string key,
	TimeSpan expiration
)

Parameters

key
Type: System String
The key to "touch".
expiration
Type: System TimeSpan
The expiration to extend.
Type Parameters
T

[Missing <typeparam name="T"/> documentation for "M:Couchbase.Core.IBucket.GetAndTouchAsync``1(System.String,System.TimeSpan)"]

Return Value

Type: Task IOperationResult T  
An Task TResult object representing the asynchronous operation.
See Also