Opc.Ua.WcfChannelBase.SendRequestAsyncResult.OnSendRequest C# (CSharp) Method

OnSendRequest() private method

Processes the request.
private OnSendRequest ( object state ) : void
state object
return void
            private void OnSendRequest(object state)
            {
                try
                {
                    // call the service.
                    m_response = m_handler(m_request);
                }
                catch (Exception e)
                {
                    // save any error.
                    m_error = e;
                    m_response = null;
                }

                // report completion.
                OperationCompleted();
            }
            #endregion