StandardEndpointElement.OnInitializeAndValidate 方法      
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
当从派生类中调用时,初始化并验证服务应用程序配置文件中的指定服务终结点的格式。
重载
| OnInitializeAndValidate(ChannelEndpointElement) | 
						   当从派生类中调用时,初始化并验证服务应用程序配置文件中的指定服务终结点的格式。  | 
        	
| OnInitializeAndValidate(ServiceEndpointElement) | 
						   当从派生类中调用时,初始化并验证服务应用程序配置文件中的指定服务终结点的格式。  | 
        	
OnInitializeAndValidate(ChannelEndpointElement)
当从派生类中调用时,初始化并验证服务应用程序配置文件中的指定服务终结点的格式。
protected:
 abstract void OnInitializeAndValidate(System::ServiceModel::Configuration::ChannelEndpointElement ^ channelEndpointElement);
	protected abstract void OnInitializeAndValidate (System.ServiceModel.Configuration.ChannelEndpointElement channelEndpointElement);
	abstract member OnInitializeAndValidate : System.ServiceModel.Configuration.ChannelEndpointElement -> unit
	Protected MustOverride Sub OnInitializeAndValidate (channelEndpointElement As ChannelEndpointElement)
	参数
- channelEndpointElement
 - ChannelEndpointElement
 
一个终结点元素,它定义在客户端与服务之间来回传递的消息的物理传输。
适用于
OnInitializeAndValidate(ServiceEndpointElement)
当从派生类中调用时,初始化并验证服务应用程序配置文件中的指定服务终结点的格式。
protected:
 abstract void OnInitializeAndValidate(System::ServiceModel::Configuration::ServiceEndpointElement ^ serviceEndpointElement);
	protected abstract void OnInitializeAndValidate (System.ServiceModel.Configuration.ServiceEndpointElement serviceEndpointElement);
	abstract member OnInitializeAndValidate : System.ServiceModel.Configuration.ServiceEndpointElement -> unit
	Protected MustOverride Sub OnInitializeAndValidate (serviceEndpointElement As ServiceEndpointElement)
	参数
- serviceEndpointElement
 - ServiceEndpointElement
 
一个服务终结点元素,它使客户端能够查找服务并与之进行通信。