ServiceElement.Endpoints 屬性

定義

取得由這個服務公開之端點的集合。Gets a collection of endpoints exposed by this service.

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

ServiceEndpointElementCollection,包含由這個服務公開的一個或多個端點。A ServiceEndpointElementCollection that contains one or more endpoints exposed by this service.

屬性

備註

每個端點都有自己的位址和繫結。Each endpoint has its own address and binding. 在組態檔中使用的所有繫結都必須定義在檔案的範圍內。All bindings used within the configuration file must be defined in the scope of the file.

適用於