<mexHttpsBinding>

 

Specifies the settings for a binding used for the WS-MetadataExchange (WS-MEX) message exchange over HTTPS.

<system.ServiceModel>
<bindings>
<mexHttpsBinding>

  
<mexHttpsBinding>  
   <binding   
       closeTimeout="TimeSpan"   
       name="string"   
       openTimeout="TimeSpan"   
       receiveTimeout="TimeSpan"  
       sendTimeout="TimeSpan">  
   </binding>  
</mexHttpsBinding>  

The following sections describe attributes, child elements, and parent elements.

Attributes

AttributeDescription
closeTimeoutA TimeSpan value that specifies the interval of time provided for a close operation to complete. This value should be greater than or equal to Zero. The default is 00:01:00.
nameA string that contains the configuration name of the binding. This value should be unique because it is used as an identification for the binding. Each binding has a name and namespace attribute that together uniquely identify it in the metadata of the service. In addition, this name is unique among bindings of the same type. Starting with .NET Framework 4, bindings and behaviors are not required to have a name. For more information about default configuration and nameless bindings and behaviors, see Simplified Configuration and Simplified Configuration for WCF Services.
openTimeoutA TimeSpan value that specifies the interval of time provided for an open operation to complete. This value should be greater than or equal to Zero. The default is 00:01:00.
receiveTimeoutA TimeSpan value that specifies the interval of time provided for a receive operation to complete. This value should be greater than or equal to Zero. The default is 00:10:00.
sendTimeoutA TimeSpan value that specifies the interval of time provided for a send operation to complete. This value should be greater than or equal to Zero. The default is 00:01:00.

Child Elements

None.

Parent Elements

ElementDescription
<bindings>This element holds a collection of standard and custom bindings.

This binding is essentially a WSHttpBinding binding that supports transport-level security 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.

CreateMexHttpsBinding
MexHttpsBindingElement
How to: Publish Metadata for a Service Using a Configuration File
Publishing and Retrieving Metadata Over a Custom Binding
How to: Configure a Custom WS-Metadata Exchange Binding
How to: Retrieve Metadata Over a non-MEX Binding
Custom Secure Metadata Endpoint
Metadata
Bindings
Configuring System-Provided Bindings
Using Bindings to Configure Windows Communication Foundation Services and Clients
<binding>

Show: