コード例 #1
0
 public IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state)
 {
     using (MsmqDiagnostics.BoundReceiveOperation(this.receiver))
     {
         return(InputChannel.HelpBeginReceive(this, timeout, callback, state));
     }
 }
コード例 #2
0
ファイル: SecurityChannelFactory.cs プロジェクト: mbearup/wcf
            public IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state)
            {
#if FEATURE_CORECLR
                throw new NotImplementedException("InputChannel not supported in .NET Core");
#else
                return(InputChannel.HelpBeginReceive((IInputChannel)this, timeout, callback, state));
#endif
            }
コード例 #3
0
 public IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state)
 {
     if (timeout < TimeSpan.Zero)
     {
         throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("timeout", timeout, System.ServiceModel.SR.GetString("SFxTimeoutOutOfRange0")));
     }
     base.ThrowPending();
     return(InputChannel.HelpBeginReceive(this, timeout, callback, state));
 }
コード例 #4
0
        public IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state)
        {
            if (timeout < TimeSpan.Zero)
            {
                throw FxTrace.Exception.AsError(new ArgumentOutOfRangeException("timeout", timeout, SR.TimeoutOutOfRange0));
            }

            this.ThrowPending();
            return(InputChannel.HelpBeginReceive(this, timeout, callback, state));
        }
コード例 #5
0
 public override IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state)
 {
     return(InputChannel.HelpBeginReceive(this, timeout, callback, state));
 }