Converts service, contract, and endpoint information into metadata documents.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Gets a collection of errors that occurred during metadata export.(Inherited from MetadataExporter.)
Gets a collection of ServiceDescription objects after calling one of the export methods.
Gets a set of XmlSchema objects after calling one of the export methods.
Specifies the version of WS-Policy specification being used.(Inherited from MetadataExporter.)
Gets a dictionary of objects used in the export of metadata.(Inherited from MetadataExporter.)
Determines whether the specified object is equal to the current object.(Inherited from Object.)
Exports metadata that describes only the contract information from the specified contract description.(Overrides MetadataExporter::ExportContract(ContractDescription^).)
Generates metadata about the specified endpoint.(Overrides MetadataExporter::ExportEndpoint(ServiceEndpoint^).)
Generates metadata about a group of endpoints from a specified service.
Converts policy assertions into a System.ServiceModel.Description::PolicyConversionContext object. (Inherited from MetadataExporter.)
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.)
Theis used in a three-step process.
Determine whether there are any export errors by checking the base Errors property.
If there are no errors, use the GetGeneratedMetadata to get a collection of MetadataSection objects or get more specific versions of the metadata using the GeneratedWsdlDocuments or GeneratedXmlSchemas properties.
You can support exporting custom WSDL extensions by implementing the IWsdlExportExtension interface and custom policy assertions by implementing the IPolicyExportExtension interface. For details, see the documentation for those interfaces.
The WsdlExporter can only be used to export metadata from ContractDescription instances that contain Common Language Runtime (CLR) type information, such as a ContractDescription instance created using the ContractDescription.GetContract method or created as part of the ServiceDescription for a ServiceHost instance. You cannot use the WsdlExporter to export metadata from ContractDescription instances imported from service metadata or constructed without type information.
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.