語言

StandardEndpointElement.OnApplyConfiguration 方法

定義

當從衍生類別呼叫時,會從設定檔載入服務描述資訊,並將其套用到正在建構的執行時。

多載

名稱 Description
OnApplyConfiguration(ServiceEndpoint, ChannelEndpointElement)

當從衍生類別呼叫時,會從設定檔載入服務描述資訊,並將其套用到正在建構的執行時。

OnApplyConfiguration(ServiceEndpoint, ServiceEndpointElement)

當從衍生類別呼叫時,會從設定檔載入服務描述資訊,並將其套用到正在建構的執行時。

OnApplyConfiguration(ServiceEndpoint, ChannelEndpointElement)

當從衍生類別呼叫時,會從設定檔載入服務描述資訊,並將其套用到正在建構的執行時。

protected:
 abstract void OnApplyConfiguration(System::ServiceModel::Description::ServiceEndpoint ^ endpoint, System::ServiceModel::Configuration::ChannelEndpointElement ^ channelEndpointElement);
protected abstract void OnApplyConfiguration(System.ServiceModel.Description.ServiceEndpoint endpoint, System.ServiceModel.Configuration.ChannelEndpointElement channelEndpointElement);
abstract member OnApplyConfiguration : System.ServiceModel.Description.ServiceEndpoint * System.ServiceModel.Configuration.ChannelEndpointElement -> unit
Protected MustOverride Sub OnApplyConfiguration (endpoint As ServiceEndpoint, channelEndpointElement As ChannelEndpointElement)

參數

endpoint
ServiceEndpoint

一個讓用戶端能夠找到並與服務溝通的端點。

channelEndpointElement
ChannelEndpointElement

一個端點元素,定義用戶端與服務之間訊息的物理傳輸。

適用於

OnApplyConfiguration(ServiceEndpoint, ServiceEndpointElement)

當從衍生類別呼叫時,會從設定檔載入服務描述資訊,並將其套用到正在建構的執行時。

protected:
 abstract void OnApplyConfiguration(System::ServiceModel::Description::ServiceEndpoint ^ endpoint, System::ServiceModel::Configuration::ServiceEndpointElement ^ serviceEndpointElement);
protected abstract void OnApplyConfiguration(System.ServiceModel.Description.ServiceEndpoint endpoint, System.ServiceModel.Configuration.ServiceEndpointElement serviceEndpointElement);
abstract member OnApplyConfiguration : System.ServiceModel.Description.ServiceEndpoint * System.ServiceModel.Configuration.ServiceEndpointElement -> unit
Protected MustOverride Sub OnApplyConfiguration (endpoint As ServiceEndpoint, serviceEndpointElement As ServiceEndpointElement)

參數

endpoint
ServiceEndpoint

一個讓用戶端能夠找到並與服務溝通的端點。

serviceEndpointElement
ServiceEndpointElement

服務應用中的服務端點元素。

適用於