WebHttpBehavior::Validate Method (ServiceEndpoint^)
.NET Framework (current version)
Confirms that the endpoint meets the requirements for the Web programming model.
Assembly: System.ServiceModel.Web (in System.ServiceModel.Web.dll)
Parameters
- endpoint
-
Type:
System.ServiceModel.Description::ServiceEndpoint^
The service endpoint.
Verifies the following:
The endpoint is not null.
The endpoint uses the HTTP or HTTPS schemes.
The MessageVersion of the binding is set to None.
The binding contains an HttpTransportBindingElement where ManualAddressing is set to true.
The parameters specified in the UriTemplate must be part of the operation.
Operations that specify Bare have, at most, one input parameter and can have no out parameters.
.NET Framework
Available since 3.5
Silverlight
Available since 4.0
Available since 3.5
Silverlight
Available since 4.0
Show: