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;
}
}