Esempio n. 1
0
        public RequestContext ReceiveRequest(TimeSpan timeout)
        {
            if (timeout < TimeSpan.Zero)
            {
                throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
                          new ArgumentOutOfRangeException("timeout", timeout, SR.GetString(SR.SFxTimeoutOutOfRange0)));
            }

            this.ThrowPending();
            return(ReplyChannel.HelpReceiveRequest(this, timeout));
        }
Esempio n. 2
0
 public RequestContext ReceiveRequest(TimeSpan timeout)
 {
     return(ReplyChannel.HelpReceiveRequest(this, timeout));
 }