Gets a value for a key by checking each replica asynchronously.
Namespace: CouchbaseAssembly: Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 0.0.0.0 (0.0.0.0)
Syntaxpublic Task<IOperationResult<T>> GetFromReplicaAsync<T>(
string key
)
public Task<IOperationResult<T>> GetFromReplicaAsync<T>(
string key
)
Public Function GetFromReplicaAsync(Of T) (
key As String
) As Task(Of IOperationResult(Of T))
Public Function GetFromReplicaAsync(Of T) (
key As String
) As Task(Of IOperationResult(Of T))
public:
generic<typename T>
virtual Task<IOperationResult<T>^>^ GetFromReplicaAsync(
String^ key
) sealed
public:
generic<typename T>
virtual Task<IOperationResult<T>^>^ GetFromReplicaAsync(
String^ key
) sealed
abstract GetFromReplicaAsync :
key : string -> Task<IOperationResult<'T>>
override GetFromReplicaAsync :
key : string -> Task<IOperationResult<'T>>
abstract GetFromReplicaAsync :
key : string -> Task<IOperationResult<'T>>
override GetFromReplicaAsync :
key : string -> Task<IOperationResult<'T>>
Parameters
- key
- Type: System.String
The key of the value to retrieve.
Type Parameters- T
- The Type of the value being retrieved.
Return Value
Type:
Task<IOperationResult<T>>
The
Task<TResult> object representing the asynchronous operation.
Implements
IBucket.GetFromReplicaAsync<T>(String)
See Also