ServiceHostBase.ApplyConfiguration 方法

定義

從組態檔載入服務描述資訊,並將其套用至正在建構的執行階段。Loads the service description information from the configuration file and applies it to the runtime being constructed.

protected:
 virtual void ApplyConfiguration();
protected virtual void ApplyConfiguration ();
abstract member ApplyConfiguration : unit -> unit
override this.ApplyConfiguration : unit -> unit
Protected Overridable Sub ApplyConfiguration ()

例外狀況

裝載之服務的描述為 nullThe description of the service hosted is null.

適用於