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

EndHistoryUpdate() public method

Waits for an asynchronous call to the HistoryUpdate service to complete.
public EndHistoryUpdate ( IAsyncResult ar ) : HistoryUpdateResponseMessage
ar IAsyncResult
return HistoryUpdateResponseMessage
        public virtual HistoryUpdateResponseMessage EndHistoryUpdate(IAsyncResult ar)
        {
            try
            {
                IServiceResponse response = ProcessRequestAsyncResult.WaitForComplete(ar, true);
                OnResponseSent(response);
                return new HistoryUpdateResponseMessage((HistoryUpdateResponse)response);
            }
            catch (Exception e)
            {
                Exception fault = CreateSoapFault(ProcessRequestAsyncResult.GetRequest(ar), e);
                OnResponseFaultSent(fault);
                throw fault;
            }
        }
        #endif
SessionEndpoint