bool CloseRequestChannel()
            {
                IAsyncResult result = rstChannel.BeginClose(timeoutHelper.RemainingTime(), closeChannelCallback, this);

                if (!result.CompletedSynchronously)
                {
                    return(false);
                }
                rstChannel.EndClose(result);
                return(true);
            }
예제 #2
0
 public void EndClose(IAsyncResult result)
 {
     _innerChannel.EndClose(result);
 }
 protected override void OnEndClose(IAsyncResult result)
 {
     _innerChannel.EndClose(result);
 }
예제 #4
0
 protected override void OnEndClose(IAsyncResult result)
 {
     inner.EndClose(result);
 }