ServiceHostBase.InitializeDescription(UriSchemeKeyedCollection) 方法

定義

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

C#
protected void InitializeDescription(System.ServiceModel.UriSchemeKeyedCollection baseAddresses);

參數

baseAddresses
UriSchemeKeyedCollection

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

適用於

產品 版本
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1