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();
 }
Exemplo n.º 3
0
 public void Abort(CommunicationObject communicationObject)
 {
     _exception = communicationObject.CreateClosedException();
     _tcs.TrySetResult(null);
 }
 public void Abort(CommunicationObject communicationObject)
 {
     this.exception = communicationObject.CreateClosedException();
     completeEvent.Set();
 }