語言

StandardEndpointElement.OnInitializeAndValidate 方法

定義

當從衍生類別呼叫時,會初始化並驗證服務應用設定檔中指定服務端點的格式。

多載

名稱 Description
OnInitializeAndValidate(ChannelEndpointElement)

當從衍生類別呼叫時,會初始化並驗證服務應用設定檔中指定服務端點的格式。

OnInitializeAndValidate(ServiceEndpointElement)

當從衍生類別呼叫時,會初始化並驗證服務應用設定檔中指定服務端點的格式。

OnInitializeAndValidate(ChannelEndpointElement)

當從衍生類別呼叫時,會初始化並驗證服務應用設定檔中指定服務端點的格式。

protected:
 abstract void OnInitializeAndValidate(System::ServiceModel::Configuration::ChannelEndpointElement ^ channelEndpointElement);
protected abstract void OnInitializeAndValidate(System.ServiceModel.Configuration.ChannelEndpointElement channelEndpointElement);
abstract member OnInitializeAndValidate : System.ServiceModel.Configuration.ChannelEndpointElement -> unit
Protected MustOverride Sub OnInitializeAndValidate (channelEndpointElement As ChannelEndpointElement)

參數

channelEndpointElement
ChannelEndpointElement

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

適用於

OnInitializeAndValidate(ServiceEndpointElement)

當從衍生類別呼叫時,會初始化並驗證服務應用設定檔中指定服務端點的格式。

protected:
 abstract void OnInitializeAndValidate(System::ServiceModel::Configuration::ServiceEndpointElement ^ serviceEndpointElement);
protected abstract void OnInitializeAndValidate(System.ServiceModel.Configuration.ServiceEndpointElement serviceEndpointElement);
abstract member OnInitializeAndValidate : System.ServiceModel.Configuration.ServiceEndpointElement -> unit
Protected MustOverride Sub OnInitializeAndValidate (serviceEndpointElement As ServiceEndpointElement)

參數

serviceEndpointElement
ServiceEndpointElement

一個服務端點元素,使客戶端能夠找到並與該服務溝通。

適用於