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

EndAddNodes() public method

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