void ICommunicationObject.Open(TimeSpan timeout) { TimeoutHelper timeoutHelper = new TimeoutHelper(timeout); ChannelFactory.Open(timeoutHelper.RemainingTime()); InnerChannel.Open(timeoutHelper.RemainingTime()); }
void ICommunicationObject.Open(TimeSpan timeout) { TimeoutHelper timeoutHelper = new TimeoutHelper(timeout); if (!_useCachedFactory) { GetChannelFactory().Open(timeoutHelper.RemainingTime()); } InnerChannel.Open(timeoutHelper.RemainingTime()); }
public void Open(TimeSpan timeout) { WcfClientEventSource.Log.ChannelCalled(GetType().FullName, nameof(Open)); HookChannelEvents(); var telemetry = this.StartOpenTelemetry(nameof(Open)); try { InnerChannel.Open(timeout); this.StopOpenTelemetry(telemetry, null, nameof(Open)); } catch (Exception ex) { this.StopOpenTelemetry(telemetry, ex, nameof(Open)); throw; } }
void ICommunicationObject.Open(TimeSpan timeout) { InnerChannel.Open(timeout); }
public void Open() { InnerChannel.Open(); }
public void Open(TimeSpan timeout) { InnerChannel.Open(timeout); }
// explicit interface impl. void ICommunicationObject.Open() { InnerChannel.Open(); }