Exemplo n.º 1
0
 internal void EndChannelClose(IAsyncResult result)
 {
     if (typeof(CompletedAsyncResult).IsAssignableFrom(result.GetType()))
     {
         CompletedAsyncResult.End(result);
     }
     else
     {
         InnerChannel.EndClose(result);
     }
 }
 public void EndClose(IAsyncResult result)
 {
     if (result == null)
     {
         throw new ArgumentNullException(nameof(result));
     }
     WcfClientEventSource.Log.ChannelCalled(GetType().FullName, nameof(EndClose));
     try
     {
         InnerChannel.EndClose(result);
     } finally
     {
         Dispose(true);
     }
 }
Exemplo n.º 3
0
 void ICommunicationObject.EndClose(IAsyncResult result)
 {
     InnerChannel.EndClose(result);
 }
Exemplo n.º 4
0
 public void EndClose(IAsyncResult result)
 {
     InnerChannel.EndClose(result);
 }