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)
Initializes a new instance of theclass.
Determines whether the specified object is equal to the current object.(Inherited from Object.)
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)
Serves as the default hash function. (Inherited from Object.)
Returns a string that represents the current object.(Inherited from Object.)
Defines a method that can import custom policy assertions for message encoding and that adds the binding elements that implement the policy.
|IWsdlImportExtension.BeforeImport(ServiceDescriptionCollection, XmlSchemaSet, ICollection<XmlElement>)|
Called prior to importing the metadata documents associated with the encoding.
Called when importing a contract.
Maps the custom WSDL extensions for encoding messages to the service description.
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 Trace Viewer Tool (SvcTraceViewer.exe) using an application configuration file.
Use the IWsdlImportExtension.BeforeImport method to directly modify the metadata that is then imported into message encoding binding elements.
Available since 3.0
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.