StandardEndpointElement.ApplyConfiguration 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將指定組態端點的內容套用到目前組態元素上。
多載
| 名稱 | Description |
|---|---|
| ApplyConfiguration(ServiceEndpoint, ChannelEndpointElement) |
將特定服務端點的內容套用到目前的通道端點元素上。 |
| ApplyConfiguration(ServiceEndpoint, ServiceEndpointElement) |
將特定服務端點的內容套用到目前的服務端點元素上。 |
ApplyConfiguration(ServiceEndpoint, ChannelEndpointElement)
將特定服務端點的內容套用到目前的通道端點元素上。
public:
void ApplyConfiguration(System::ServiceModel::Description::ServiceEndpoint ^ endpoint, System::ServiceModel::Configuration::ChannelEndpointElement ^ channelEndpointElement);
public void ApplyConfiguration(System.ServiceModel.Description.ServiceEndpoint endpoint, System.ServiceModel.Configuration.ChannelEndpointElement channelEndpointElement);
member this.ApplyConfiguration : System.ServiceModel.Description.ServiceEndpoint * System.ServiceModel.Configuration.ChannelEndpointElement -> unit
Public Sub ApplyConfiguration (endpoint As ServiceEndpoint, channelEndpointElement As ChannelEndpointElement)
參數
- endpoint
- ServiceEndpoint
一個讓用戶端能夠找到並與服務溝通的端點。
- channelEndpointElement
- ChannelEndpointElement
一個端點元素,定義用戶端與服務之間訊息的物理傳輸。
適用於
ApplyConfiguration(ServiceEndpoint, ServiceEndpointElement)
將特定服務端點的內容套用到目前的服務端點元素上。
public:
void ApplyConfiguration(System::ServiceModel::Description::ServiceEndpoint ^ endpoint, System::ServiceModel::Configuration::ServiceEndpointElement ^ serviceEndpointElement);
public void ApplyConfiguration(System.ServiceModel.Description.ServiceEndpoint endpoint, System.ServiceModel.Configuration.ServiceEndpointElement serviceEndpointElement);
member this.ApplyConfiguration : System.ServiceModel.Description.ServiceEndpoint * System.ServiceModel.Configuration.ServiceEndpointElement -> unit
Public Sub ApplyConfiguration (endpoint As ServiceEndpoint, serviceEndpointElement As ServiceEndpointElement)
參數
- endpoint
- ServiceEndpoint
一個讓用戶端能夠找到並與服務溝通的端點。
- serviceEndpointElement
- ServiceEndpointElement
一個端點元素,定義客戶端如何尋找並與服務溝通。