Opc.Ua.SessionEndpoint.HistoryRead C# (CSharp) Method

HistoryRead() public method

The operation contract for the HistoryRead service.
public HistoryRead ( HistoryReadMessage request ) : HistoryReadResponseMessage
request HistoryReadMessage
return HistoryReadResponseMessage
        public virtual HistoryReadResponseMessage HistoryRead(HistoryReadMessage request)
        {
            HistoryReadResponse response = null;

            try
            {
                // OnRequestReceived(message.HistoryReadRequest);

                SetRequestContext(RequestEncoding.Xml);
                response = (HistoryReadResponse)HistoryRead(request.HistoryReadRequest);
                // OnResponseSent(response);
                return new HistoryReadResponseMessage(response);
            }
            catch (Exception e)
            {
                Exception fault = CreateSoapFault(request.HistoryReadRequest, e);
                // OnResponseFaultSent(fault);
                throw fault;
            }
        }
        #else

Same methods

SessionEndpoint::HistoryRead ( IServiceRequest incoming ) : IServiceResponse
SessionEndpoint