FutureGetKey() public static méthode

public static FutureGetKey ( FutureHandle future, Slice &key ) : FdbError
future FutureHandle
key Slice
Résultat FdbError
Exemple #1
0
        private static Slice GetKeyResult(FutureHandle h)
        {
            Contract.Requires(h != null);

            var err = FdbNative.FutureGetKey(h, out ReadOnlySpan <byte> result);

#if DEBUG_TRANSACTIONS
            Debug.WriteLine("FdbTransaction[].GetKeyResult() => err=" + err + ", result=" + result.ToString());
#endif
            Fdb.DieOnError(err);
            return(Slice.Copy(result));
        }