MetadataExchangeBindings.CreateMexHttpsBinding Method ()

 

Returns a System.ServiceModel.WSHttpBinding that supports transport-level security.

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

public static Binding CreateMexHttpsBinding()

Return Value

Type: System.ServiceModel.Channels.Binding

A System.ServiceModel.WSHttpBinding that supports transport-level security.

Use the CreateMexHttpsBinding method to return a binding that can be secured at the transport level using certificates. For more information about configuring and using such a metadata endpoint, see How to: Configure a Custom WS-Metadata Exchange Binding, How to: Retrieve Metadata Over a non-MEX Binding, and the sample Custom Secure Metadata Endpoint.

.NET Framework
Available since 3.0
Return to top
Show: