MessageEncodingBindingElementImporter Class
Converts WSDL-based policies and contracts about message encoding into descriptions of the binding elements that can implement these policies for the service.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Override this class to extend the standard mapping between WSDL and a message encoding binding element. Then attach your custom object to a WsdlImporter either programmatically or by using an application configuration file. You can also attach your custom object to the internal WsdlImporter used by the Service Model Metadata Utility Tool (Svcutil.exe) using an application configuration file.
Use the BeforeImport(ServiceDescriptionCollection, XmlSchemaSet, ICollectionXmlElement) method to directly modify the metadata that is then imported into message encoding binding elements.
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.