共用方式為


WebHttpEndpointElement.OnInitializeAndValidate 方法

定義

初始化並驗證指定服務或通道端點項目的格式,並將它設定為包含 Web HTTP 內容。

多載

OnInitializeAndValidate(ChannelEndpointElement)

初始化並驗證指定通道端點項目的格式,並將它設定為包含 Web HTTP 內容。

OnInitializeAndValidate(ServiceEndpointElement)

初始化並驗證指定服務端點項目的格式,並將它設定為包含 Web HTTP 內容。

OnInitializeAndValidate(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

要初始化及驗證的通道端點項目。

適用於

OnInitializeAndValidate(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

要初始化及驗證的服務端點項目。

適用於