コード例 #1
0
        private static void InitHostFactory(Type[] types)
        {
            ModuleProc PROC = new ModuleProc("", "InitHostFactory");

            try
            {
                _hostFactory = new ConfigStoreServiceHostFactory(types);
                _hostFactory.Start();
            }
            catch (Exception ex)
            {
                Log.Exception(PROC, ex);
            }
        }
コード例 #2
0
 public ConfigStoreServiceProxy(int processId)
     : base(ConfigStoreServiceHostFactory.CreateNamedPipeBinding(), ConfigStoreManager.GetPipeName(processId))
 {
 }