Click or drag to resize
IRiakNodeUseConnectionTResult Method (FuncIRiakConnection, RiakResultTResult)
Execute the useFun delegate using this one of this IRiakNode's connections.

Namespace:  RiakClient.Comms
Assembly:  RiakClient (in RiakClient.dll) Version: f9bb17a3f8ff6940b88010a52f202e3d55fe25c5
Syntax
RiakResult<TResult> UseConnection<TResult>(
	Func<IRiakConnection, RiakResult<TResult>> useFun
)

Parameters

useFun
Type: SystemFuncIRiakConnection, RiakResultTResult
The delegate function to execute using one of this IRiakNode's connections.

Type Parameters

TResult
The expected return type from the operation.

Return Value

Type: RiakResultTResult
A RiakResult detailing the success or failure of the operation, as well as the TResult return value.
See Also