UseRequestHeadersForMetadataAddressElement.DefaultPorts Property

Definition

Gets a collection of DefaultPortElement objects.

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

Property Value

A collection of elements.

Attributes

Remarks

A default port is the default communications endpoint that the client application listens to.

Applies to