共用方式為


ServiceHostBase.InitializeDescription(UriSchemeKeyedCollection) 方法

定義

使用合約和服務描述建立並初始化服務主機。

protected:
 void InitializeDescription(System::ServiceModel::UriSchemeKeyedCollection ^ baseAddresses);
protected void InitializeDescription (System.ServiceModel.UriSchemeKeyedCollection baseAddresses);
member this.InitializeDescription : System.ServiceModel.UriSchemeKeyedCollection -> unit
Protected Sub InitializeDescription (baseAddresses As UriSchemeKeyedCollection)

參數

baseAddresses
UriSchemeKeyedCollection

UriSchemeKeyedCollection,其中包含裝載之服務的基底位址。

適用於