コード例 #1
0
        internal void NotifyWebRequestExecuted(WebResponse response, TimeSpan timeNeeded, Stream resultStream, WebException exception)
        {
            if (RequestExecutedEvent != null)
            {
                WebRequestExecutedEventArgs e = new WebRequestExecutedEventArgs();

                e.response     = response;
                e.timeNeeded   = timeNeeded;
                e.resultStream = resultStream;
                e.exception    = exception;

                RequestExecutedEvent(this, e);
            }
        }
コード例 #2
0
        internal void NotifyWebRequestExecuted(WebResponse response, TimeSpan timeNeeded, Stream resultStream, WebException exception)
        {
            if (RequestExecutedEvent != null)
            {
                var e = new WebRequestExecutedEventArgs
                {
                    response     = response,
                    timeNeeded   = timeNeeded,
                    resultStream = resultStream,
                    exception    = exception
                };

                RequestExecutedEvent(this, e);
            }
        }
コード例 #3
0
        internal void NotifyWebRequestExecuted(WebResponse response, TimeSpan timeNeeded, Stream resultStream, WebException exception)
        {
            if (RequestExecutedEvent != null)
            {
                WebRequestExecutedEventArgs e = new WebRequestExecutedEventArgs();

                e.response = response;
                e.timeNeeded = timeNeeded;                
                e.resultStream = resultStream;
                e.exception = exception;

                RequestExecutedEvent(this, e);
            }
        }