Share via


StandardEndpointElement.ApplyConfiguration 方法

定義

將指定組態端點的內容套用至目前的組態項目。

多載

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

可定義用戶端定義與服務通訊方式的端點項目。

適用於