Editare

Partajați prin


StandardEndpointElement.ApplyConfiguration Method

Definition

Applies the content of a specified configuration endpoint to the current configuration element.

Overloads

ApplyConfiguration(ServiceEndpoint, ChannelEndpointElement)

Applies the content of a specific service endpoint to the current channel endpoint element.

ApplyConfiguration(ServiceEndpoint, ServiceEndpointElement)

Applies the content of a specific service endpoint to the current service endpoint element.

ApplyConfiguration(ServiceEndpoint, ChannelEndpointElement)

Applies the content of a specific service endpoint to the current channel endpoint element.

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)

Parameters

endpoint
ServiceEndpoint

An endpoint that enables clients to find and communicate with the service.

channelEndpointElement
ChannelEndpointElement

An endpoint element that defines the physical transfer of messages back and forth between the client and the service.

Applies to

ApplyConfiguration(ServiceEndpoint, ServiceEndpointElement)

Applies the content of a specific service endpoint to the current service endpoint element.

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)

Parameters

endpoint
ServiceEndpoint

An endpoint that enables clients to find and communicate with the service.

serviceEndpointElement
ServiceEndpointElement

An endpoint element that defines how clients find and communicate with the service.

Applies to