DiscoveryEndpointElement.OnInitializeAndValidate 方法

定义

由派生类调用或重写时,初始化并验证指定的终结点元素。When called or overridden by a derived class, initializes and validates the specified endpoint element.

重载

OnInitializeAndValidate(ChannelEndpointElement)

由派生类调用或重写时,初始化并验证 ChannelEndpointElement 的指定实例。When called or overridden by a derived class, initializes and validates a specified instance of ChannelEndpointElement.

OnInitializeAndValidate(ServiceEndpointElement)

由派生类调用或重写时,初始化并验证 ServiceEndpointElement 的指定实例。When called or overridden by a derived class, initializes and validates the specified instance of ServiceEndpointElement.

OnInitializeAndValidate(ChannelEndpointElement)

由派生类调用或重写时,初始化并验证 ChannelEndpointElement 的指定实例。When called or overridden by a derived class, initializes and validates a specified instance of 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

要初始化和验证的通道终结点元素。The channel endpoint element to initialize and validate.

适用于

OnInitializeAndValidate(ServiceEndpointElement)

由派生类调用或重写时,初始化并验证 ServiceEndpointElement 的指定实例。When called or overridden by a derived class, initializes and validates the specified instance of 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

要初始化和验证的服务终结点元素。The service endpoint element to initialize and validate.

适用于