Validate Method

WebHttpBehavior.Validate Method

Confirms that the endpoint meets the requirements for the Web programming model.

Namespace:  System.ServiceModel.Description
Assembly:  System.ServiceModel.Web.Extensions (in System.ServiceModel.Web.Extensions.dll)

public virtual void Validate(
	ServiceEndpoint endpoint
)

Parameters

endpoint
Type: System.ServiceModel.Description.ServiceEndpoint
The service endpoint.

Implements

IEndpointBehavior.Validate(ServiceEndpoint)

ExceptionCondition
ArgumentNullException

Endpoint is null.

InvalidOperationException

Message headers are included or the a scheme other than HTTP(S) is used or manual addressing is configured incorrectly.

Verifies the following:

Silverlight

Supported in: 5, 4

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2016 Microsoft