Stop() 공개 메소드

Stops the agent.
public Stop ( ) : void
리턴 void
예제 #1
0
        /// <summary>
        /// Main method; used when running the agent as a standalone console EXE.
        /// </summary>
        public static void Main()
        {
            var config = (AgentConfigurationSection)ConfigurationManager.GetSection("agent");
            var agent  = new Agent(config);

            agent.Run();
            Console.ReadLine();
            agent.Stop();
        }
예제 #2
0
        /// <summary>
        /// Main method; used when running the agent as a standalone console EXE.
        /// </summary>
        public static void Main()
        {
            var config = (AgentConfigurationSection)ConfigurationManager.GetSection("agent");
            var agent = new Agent(config);

            agent.Run();
            Console.ReadLine();
            agent.Stop();
        }