Opc.Ua.EndpointBase.EndpointBase C# (CSharp) Method

EndpointBase() protected method

Initializes the object when it is created by the WCF framework.
protected EndpointBase ( ) : System
return System
        protected EndpointBase()
        {
            SupportedServices  = new Dictionary<ExpandedNodeId,ServiceDefinition>();
            
            try
            {
                m_host = GetHostForContext();
                m_server = GetServerForContext();

                MessageContext = m_server.MessageContext;
               
                EndpointDescription = GetEndpointDescription();
            }
            catch (Exception e)
            {
                ServerError = new ServiceResult(e);
                EndpointDescription = null;

                m_host = null;
                m_server = null;
            }
        }

Same methods

EndpointBase::EndpointBase ( IServiceHostBase host ) : System
EndpointBase::EndpointBase ( ServerBase server ) : System