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

屬性值

項目的集合。

屬性

備註

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

適用於