StandardEndpointElement.InitializeAndValidate Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public:
void InitializeAndValidate(System::ServiceModel::Configuration::ChannelEndpointElement ^ channelEndpointElement);
public void InitializeAndValidate (System.ServiceModel.Configuration.ChannelEndpointElement channelEndpointElement);
member this.InitializeAndValidate : System.ServiceModel.Configuration.ChannelEndpointElement -> unit
Public Sub InitializeAndValidate (channelEndpointElement As 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
InitializeAndValidate(ServiceEndpointElement)
Initializes and verifies the format of the specified service endpoint in a service application configuration file.
public:
void InitializeAndValidate(System::ServiceModel::Configuration::ServiceEndpointElement ^ serviceEndpointElement);
public void InitializeAndValidate (System.ServiceModel.Configuration.ServiceEndpointElement serviceEndpointElement);
member this.InitializeAndValidate : System.ServiceModel.Configuration.ServiceEndpointElement -> unit
Public Sub InitializeAndValidate (serviceEndpointElement As ServiceEndpointElement)
Parameters
- serviceEndpointElement
- ServiceEndpointElement
An endpoint element that enables clients to find and communicate with the service.