DisposeWithFinalizer method

void DisposeWithFinalizer(
  1. bool suppressFinalizer
)
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. Value indicating whether to suppress the garbage collector's finalizer..

Implementation

/* private */
void DisposeWithFinalizer(bool suppressFinalizer) {
  throw NotImplementedException("DisposeWithFinalizer");
//            if (suppressFinalizer)
//            {
//                GC.SuppressFinalize(this);
//            }
//
//            lock (this.lockObject)
//            {
//                if (!this.isDisposed)
//                {
//                    if (this.currentHangingRequest != null)
//                    {
//                        this.currentHangingRequest = null;
//                    }
//
//                    this.subscriptions = null;
//                    this.session = null;
//
//                    this.isDisposed = true;
//                }
//            }
}