Exemple #1
0
        public IAsyncResult BeginReceiveRequest(TimeSpan timeout, AsyncCallback callback, object state)
        {
            if (timeout < TimeSpan.Zero)
            {
                throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
                          new ArgumentOutOfRangeException("timeout", timeout, SR.GetString(SR.SFxTimeoutOutOfRange0)));
            }

            this.ThrowPending();
            return(ReplyChannel.HelpBeginReceiveRequest(this, timeout, callback, state));
        }
Exemple #2
0
 public IAsyncResult BeginReceiveRequest(TimeSpan timeout, AsyncCallback callback, object state)
 {
     return(ReplyChannel.HelpBeginReceiveRequest(this, timeout, callback, state));
 }