示例#1
0
 public static void Main(string[] argv)
 {
     Filter4 srv = new Filter4();
       try {
     srv.ConfigSetIgnoreExit(true);
     srv.ConfigSetIdent("transFilter");
     srv.ConfigSetName("Filter4");
     srv.LinkCreate(argv);
     srv.ProcessEvent(MqS.WAIT.FOREVER);
       } catch (Exception ex) {
     srv.ErrorSet (ex);
       }
       srv.Exit();
 }
示例#2
0
        public static void Main(string[] argv)
        {
            Filter4 srv = new Filter4();

            try {
                srv.ConfigSetIgnoreExit(true);
                srv.ConfigSetIdent("transFilter");
                srv.ConfigSetName("Filter4");
                srv.LinkCreate(argv);
                srv.ProcessEvent(MqS.WAIT.FOREVER);
            } catch (Exception ex) {
                srv.ErrorSet(ex);
            }
            srv.Exit();
        }