共用方式為


StandardEndpointElement.OnApplyConfiguration 方法

定義

從衍生類別呼叫時,從組態檔載入服務描述資訊,並將其套用至正在建構的執行階段。

多載

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

服務應用程式的服務端點項目。

適用於