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

EndRegisterNodes() public method

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