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,包含由這個服務公開的一個或多個端點。

屬性

備註

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

適用於