protected async Task <IOperationResult> PerformStoreAsync(StoreMode mode, string key, object value, Expiration expiration, ulong cas) { try { using (var ci = transcoder.Serialize(value)) { var op = opFactory.Store(mode, keyTransformer.Transform(key), ci, expiration.Value, cas); await cluster.Execute(op).ConfigureAwait(false); return(op.Result); } } catch (IOException e) { return(new BinaryOperationResult().FailWith(e)); } }