WebHttpEndpointElement.CreateServiceEndpoint Method (ContractDescription)

.NET Framework (current version)

Creates a new endpoint of type WebHttpEndpoint with the specified contract description.

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

protected internal override ServiceEndpoint CreateServiceEndpoint(
	ContractDescription contractDescription


Type: System.ServiceModel.Description.ContractDescription

An object of type ContractDescription that specifies what an endpoint communicates to the outside world, including the signature of the operations in terms of messages exchanged, the data types of these messages, the location of the operations, and the specific protocols and serialization formats that are used to support successful communication with the service.

Return Value

Type: System.ServiceModel.Description.ServiceEndpoint

A service endpoint.

.NET Framework
Available since 4.0
Return to top