MetadataExchangeBindings.CreateMexHttpsBinding Method

Definition

Returns a WSHttpBinding that supports transport-level security.

public:
 static System::ServiceModel::Channels::Binding ^ CreateMexHttpsBinding();
public static System.ServiceModel.Channels.Binding CreateMexHttpsBinding ();
static member CreateMexHttpsBinding : unit -> System.ServiceModel.Channels.Binding
Public Shared Function CreateMexHttpsBinding () As Binding

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