Opc.Ua.ServiceHost.OnClosing C# (CSharp) 메소드

OnClosing() 보호된 메소드

Shutdowns the server gracefully.
protected OnClosing ( ) : void
리턴 void
        protected override void OnClosing()
        {            
            // stop the server.
            if (m_stopServerOnClose && m_server != null)
            {
                m_server.Stop();
                m_server = null;
            }
            
            base.OnClosing();
        }