private void ReleaseNativeEnumerator()
 {
     if (this.nativeEnumerator != null)
     {
         Marshal.FinalReleaseComObject(this.nativeEnumerator);
         this.nativeEnumerator = null;
     }
 }
 public void Reset()
 {
     this.ReleaseNativeEnumerator();
     Utility.WrapNativeSyncInvokeInMTA(() =>
     {
         this.nativeEnumerator = (NativeRuntime.IFabricKeyValueStoreItemEnumerator2) this.createNativeEnumeratorFunc(this.transactionBase);
     },
                                       "KeyValueStoreItemEnumerator.Reset");
 }