Beispiel #1
0
 protected override void OnEndClose(IAsyncResult result)
 {
     try
     {
         CloseCollectionAsyncResult.End(result);
     }
     finally
     {
         this.AbortPendingChannels();
     }
 }
Beispiel #2
0
 public void EndClose(IAsyncResult asyncResult)
 {
     if (asyncResult is CloseCollectionAsyncResult)
     {
         CloseCollectionAsyncResult.End(asyncResult);
     }
     else
     {
         CompletedAsyncResult.End(asyncResult);
     }
 }
 private void EndClose(IAsyncResult result)
 {
     CloseCollectionAsyncResult.End((CloseCollectionAsyncResult)result);
 }
 protected override void OnEndClose(IAsyncResult result)
 {
     CloseCollectionAsyncResult.End(result);
 }