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

RegisterNodes() public method

The operation contract for the RegisterNodes service.
public RegisterNodes ( RegisterNodesMessage request ) : RegisterNodesResponseMessage
request RegisterNodesMessage
return RegisterNodesResponseMessage
        public virtual RegisterNodesResponseMessage RegisterNodes(RegisterNodesMessage request)
        {
            RegisterNodesResponse response = null;

            try
            {
                // OnRequestReceived(message.RegisterNodesRequest);

                SetRequestContext(RequestEncoding.Xml);
                response = (RegisterNodesResponse)RegisterNodes(request.RegisterNodesRequest);
                // OnResponseSent(response);
                return new RegisterNodesResponseMessage(response);
            }
            catch (Exception e)
            {
                Exception fault = CreateSoapFault(request.RegisterNodesRequest, e);
                // OnResponseFaultSent(fault);
                throw fault;
            }
        }
        #else

Same methods

SessionEndpoint::RegisterNodes ( IServiceRequest incoming ) : IServiceResponse
SessionEndpoint