語言

ServiceElement.Endpoints 屬性

定義

會收到一組由此服務暴露的端點。

public:
 property System::ServiceModel::Configuration::ServiceEndpointElementCollection ^ Endpoints { System::ServiceModel::Configuration::ServiceEndpointElementCollection ^ get(); };
[System.Configuration.ConfigurationProperty("", Options=System.Configuration.ConfigurationPropertyOptions.IsDefaultCollection)]
public System.ServiceModel.Configuration.ServiceEndpointElementCollection Endpoints { get; }
[<System.Configuration.ConfigurationProperty("", Options=System.Configuration.ConfigurationPropertyOptions.IsDefaultCollection)>]
member this.Endpoints : System.ServiceModel.Configuration.ServiceEndpointElementCollection
Public ReadOnly Property Endpoints As ServiceEndpointElementCollection

屬性值

ServiceEndpointElementCollection A 包含由此服務暴露的一個或多個端點。

屬性

備註

每個端點都有自己的位址和綁定。 設定檔中使用的所有綁定必須在檔案的範圍內定義。

適用於