語言

ServiceMetadataEndpointElement.OnInitializeAndValidate 方法

定義

初始化並驗證指定服務或通道端點元素的格式,並設定其包含元資料交換內容。

多載

名稱 Description
OnInitializeAndValidate(ChannelEndpointElement)

初始化並驗證指定通道端點元素的格式,並設定其包含元資料交換內容。

OnInitializeAndValidate(ServiceEndpointElement)

初始化並驗證指定服務端點元素的格式,並設定其包含元資料交換內容。

OnInitializeAndValidate(ChannelEndpointElement)

初始化並驗證指定通道端點元素的格式,並設定其包含元資料交換內容。

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)

初始化並驗證指定服務端點元素的格式,並設定其包含元資料交換內容。

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

是套用元資料交換內容設定的服務端點。

適用於