コード例 #1
0
        public void Start()
        {
            this.Host = (HttpListenerAspNetHost)ApplicationHost.CreateApplicationHost(typeof(HttpListenerAspNetHost), this.virtualDir, this.physicalDir);

            this.Host.Configure(this.prefixes, this.virtualDir, this.physicalDir);
            this.Host.Start();
        }
コード例 #2
0
        public void Start()
        {
            Host = (HttpListenerAspNetHost)ApplicationHost.CreateApplicationHost(
                                               typeof(HttpListenerAspNetHost), _virtualDir, _physicalDir);

            Host.Configure(_prefixes, _virtualDir, _physicalDir);
            Host.Start();
        }
コード例 #3
0
        public void Start()
        {
            Host = (HttpListenerAspNetHost)ApplicationHost.CreateApplicationHost(
                typeof(HttpListenerAspNetHost), _virtualDir, _physicalDir);

            Host.Configure(_prefixes, _virtualDir, _physicalDir);
            Host.Start();
        }