public void OnAborted(CommunicationObject communicationObject)
 {
     if (this.ShouldComplete(false))
     {
         base.Complete(false, communicationObject.CreateClosedException());
     }
 }
 public void Abort(CommunicationObject communicationObject)
 {
     this.exception = communicationObject.CreateClosedException();
     this.completeEvent.Set();
 }
 public void Abort(CommunicationObject communicationObject)
 {
     _exception = communicationObject.CreateClosedException();
     _tcs.TrySetResult(null);
 }
 public void Abort(CommunicationObject communicationObject)
 {
     this.exception = communicationObject.CreateClosedException();
     completeEvent.Set();
 }