StandardEndpointElement.InitializeAndValidate Method

Definition

Initializes and verifies the format of the specified endpoint in a service application configuration file.

Overloads

InitializeAndValidate(ChannelEndpointElement)

Initializes and verifies the format of the specified channel endpoint in a service application configuration file.

InitializeAndValidate(ServiceEndpointElement)

Initializes and verifies the format of the specified service endpoint in a service application configuration file.

InitializeAndValidate(ChannelEndpointElement)

Initializes and verifies the format of the specified channel endpoint in a service application configuration file.

C#
public void InitializeAndValidate(System.ServiceModel.Configuration.ChannelEndpointElement channelEndpointElement);

Parameters

channelEndpointElement
ChannelEndpointElement

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

Applies to

.NET Framework 4.8.1 und andere Versionen
Produkt Versionen
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

InitializeAndValidate(ServiceEndpointElement)

Initializes and verifies the format of the specified service endpoint in a service application configuration file.

C#
public void InitializeAndValidate(System.ServiceModel.Configuration.ServiceEndpointElement serviceEndpointElement);

Parameters

serviceEndpointElement
ServiceEndpointElement

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

Applies to

.NET Framework 4.8.1 und andere Versionen
Produkt Versionen
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1