Ejemplo n.º 1
0
        void ICommunicationObject.Open(TimeSpan timeout)
        {
            TimeoutHelper timeoutHelper = new TimeoutHelper(timeout);

            ChannelFactory.Open(timeoutHelper.RemainingTime());
            InnerChannel.Open(timeoutHelper.RemainingTime());
        }
Ejemplo n.º 2
0
        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;
            }
        }
Ejemplo n.º 4
0
 void ICommunicationObject.Open(TimeSpan timeout)
 {
     InnerChannel.Open(timeout);
 }
Ejemplo n.º 5
0
 public void Open()
 {
     InnerChannel.Open();
 }
Ejemplo n.º 6
0
 public void Open(TimeSpan timeout)
 {
     InnerChannel.Open(timeout);
 }
Ejemplo n.º 7
0
        // explicit interface impl.

        void ICommunicationObject.Open()
        {
            InnerChannel.Open();
        }