Opc.Ua.Sample.SampleServer.OnServerStopping C# (CSharp) 메소드

OnServerStopping() 보호된 메소드

Cleans up before the server shuts down.
This method is called before any shutdown processing occurs.
protected OnServerStopping ( ) : void
리턴 void
        protected override void OnServerStopping()
        {
            Console.WriteLine("The Server is stopping.");

            base.OnServerStopping();
            
            #if INCLUDE_Sample
            CleanSampleModel();
            #endif
        }