Edit

Share via


MetadataExchangeBindings.CreateMexHttpsBinding Method

Definition

Returns a WSHttpBinding that supports transport-level security.

public static System.ServiceModel.Channels.Binding CreateMexHttpsBinding();

Returns

A WSHttpBinding that supports transport-level security.

Remarks

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.

Applies to

Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1