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

EndBrowse() public method

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