語言

UseRequestHeadersForMetadataAddressElement.DefaultPorts 屬性

定義

會得到一組 DefaultPortElement 物品。

public:
 property System::ServiceModel::Configuration::DefaultPortElementCollection ^ DefaultPorts { System::ServiceModel::Configuration::DefaultPortElementCollection ^ get(); };
[System.Configuration.ConfigurationProperty("defaultPorts")]
public System.ServiceModel.Configuration.DefaultPortElementCollection DefaultPorts { get; }
[<System.Configuration.ConfigurationProperty("defaultPorts")>]
member this.DefaultPorts : System.ServiceModel.Configuration.DefaultPortElementCollection
Public ReadOnly Property DefaultPorts As DefaultPortElementCollection

屬性值

一組元素。

屬性

備註

預設埠是用戶端應用程式會監聽的預設通訊端點。

適用於