編輯

共用方式為


WebScriptEndpointElement.OnInitializeAndValidate Method

Definition

Initializes and verifies the format of a specified ServiceEndpointElement or ChannelEndpointElement and configures it to include web HTTP binding content.

Overloads

OnInitializeAndValidate(ChannelEndpointElement)

Initializes and verifies the format of the specified ChannelEndpointElement and configures it to include web HTTP binding content.

OnInitializeAndValidate(ServiceEndpointElement)

Initializes and verifies the format of the specified ServiceEndpointElement and configures it to include web HTTP binding content.

OnInitializeAndValidate(ChannelEndpointElement)

Initializes and verifies the format of the specified ChannelEndpointElement and configures it to include web HTTP binding content.

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)

Parameters

channelEndpointElement
ChannelEndpointElement

The ChannelEndpointElement to be initialized.

Applies to

OnInitializeAndValidate(ServiceEndpointElement)

Initializes and verifies the format of the specified ServiceEndpointElement and configures it to include web HTTP binding content.

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)

Parameters

serviceEndpointElement
ServiceEndpointElement

The ServiceEndpointElement to be initialized.

Applies to