StandardEndpointElement.ApplyConfiguration 方法

定义

将指定配置终结点的内容应用到当前的配置元素。

重载

ApplyConfiguration(ServiceEndpoint, ChannelEndpointElement)

将特定服务终结点的内容应用到当前的通道终结点元素。

ApplyConfiguration(ServiceEndpoint, ServiceEndpointElement)

将指定服务终结点的内容应用到当前的服务终结点元素。

ApplyConfiguration(ServiceEndpoint, ChannelEndpointElement)

将特定服务终结点的内容应用到当前的通道终结点元素。

public:
 void ApplyConfiguration(System::ServiceModel::Description::ServiceEndpoint ^ endpoint, System::ServiceModel::Configuration::ChannelEndpointElement ^ channelEndpointElement);
public void ApplyConfiguration (System.ServiceModel.Description.ServiceEndpoint endpoint, System.ServiceModel.Configuration.ChannelEndpointElement channelEndpointElement);
member this.ApplyConfiguration : System.ServiceModel.Description.ServiceEndpoint * System.ServiceModel.Configuration.ChannelEndpointElement -> unit
Public Sub ApplyConfiguration (endpoint As ServiceEndpoint, channelEndpointElement As ChannelEndpointElement)

参数

endpoint
ServiceEndpoint

一个终结点,它使客户端能够查找服务并与之进行通信。

channelEndpointElement
ChannelEndpointElement

一个终结点元素,它定义在客户端与服务之间来回传递的消息的物理传输。

适用于

ApplyConfiguration(ServiceEndpoint, ServiceEndpointElement)

将指定服务终结点的内容应用到当前的服务终结点元素。

public:
 void ApplyConfiguration(System::ServiceModel::Description::ServiceEndpoint ^ endpoint, System::ServiceModel::Configuration::ServiceEndpointElement ^ serviceEndpointElement);
public void ApplyConfiguration (System.ServiceModel.Description.ServiceEndpoint endpoint, System.ServiceModel.Configuration.ServiceEndpointElement serviceEndpointElement);
member this.ApplyConfiguration : System.ServiceModel.Description.ServiceEndpoint * System.ServiceModel.Configuration.ServiceEndpointElement -> unit
Public Sub ApplyConfiguration (endpoint As ServiceEndpoint, serviceEndpointElement As ServiceEndpointElement)

参数

endpoint
ServiceEndpoint

一个终结点,它使客户端能够查找服务并与之进行通信。

serviceEndpointElement
ServiceEndpointElement

一个终结点元素,它定义客户端如何查找服务并与之进行通信。

适用于