Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ApplyConfiguration Method (ServiceEndpoint, ServiceEndpointElement)

StandardEndpointElement.ApplyConfiguration Method (ServiceEndpoint, ServiceEndpointElement)

.NET Framework 4.6 and 4.5

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

Namespace:  System.ServiceModel.Configuration
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public void ApplyConfiguration(
	ServiceEndpoint endpoint,
	ServiceEndpointElement serviceEndpointElement
)

Parameters

endpoint
Type: System.ServiceModel.Description.ServiceEndpoint

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

serviceEndpointElement
Type: System.ServiceModel.Configuration.ServiceEndpointElement

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

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
Show:
© 2015 Microsoft