WebScriptEndpointElement.OnInitializeAndValidate 方法

定义

初始化并验证指定 ServiceEndpointElement 格式或 ChannelEndpointElement 将其配置为包含 Web HTTP 绑定内容。

重载

名称 说明
OnInitializeAndValidate(ChannelEndpointElement)

初始化并验证指定 ChannelEndpointElement 格式,并将其配置为包含 Web HTTP 绑定内容。

OnInitializeAndValidate(ServiceEndpointElement)

初始化并验证指定 ServiceEndpointElement 格式,并将其配置为包含 Web HTTP 绑定内容。

OnInitializeAndValidate(ChannelEndpointElement)

初始化并验证指定 ChannelEndpointElement 格式,并将其配置为包含 Web HTTP 绑定内容。

protected:
 override void OnInitializeAndValidate(System::ServiceModel::Configuration::ChannelEndpointElement ^ channelEndpointElement);
protected override void OnInitializeAndValidate(System.ServiceModel.Configuration.ChannelEndpointElement channelEndpointElement);
override this.OnInitializeAndValidate : System.ServiceModel.Configuration.ChannelEndpointElement -> unit
Protected Overrides Sub OnInitializeAndValidate (channelEndpointElement As ChannelEndpointElement)

参数

channelEndpointElement
ChannelEndpointElement

ChannelEndpointElement 初始化的项。

适用于

OnInitializeAndValidate(ServiceEndpointElement)

初始化并验证指定 ServiceEndpointElement 格式,并将其配置为包含 Web HTTP 绑定内容。

protected:
 override void OnInitializeAndValidate(System::ServiceModel::Configuration::ServiceEndpointElement ^ serviceEndpointElement);
protected override void OnInitializeAndValidate(System.ServiceModel.Configuration.ServiceEndpointElement serviceEndpointElement);
override this.OnInitializeAndValidate : System.ServiceModel.Configuration.ServiceEndpointElement -> unit
Protected Overrides Sub OnInitializeAndValidate (serviceEndpointElement As ServiceEndpointElement)

参数

serviceEndpointElement
ServiceEndpointElement

ServiceEndpointElement 初始化的项。

适用于