Export (0) Print
Expand All

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft