ServiceHostBase.InitializeDescription(UriSchemeKeyedCollection) 方法

定義

使用合約和服務描述建立並初始化服務主機。Creates and initializes the service host with the contract and service descriptions.

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,其中包含裝載之服務的基底位址。A UriSchemeKeyedCollection that contains the base addresses for the service hosted.

適用於