MetadataExporter.GetGeneratedMetadata Method ()

 

When overridden in a derived class, returns the metadata generated by a call to either ExportContract, ExportEndpoint, or ExportPolicy.

Namespace:   System.ServiceModel.Description
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public abstract MetadataSet GetGeneratedMetadata()

Return Value

Type: System.ServiceModel.Description.MetadataSet

An enumerable collection of System.ServiceModel.Description.MetadataSection objects that contain the exported metadata.

Use the GetGeneratedMetadata method to retrieve the metadata generated from earlier calls. Check the Errors property prior to retrieving the metadata to ensure that you have the metadata you want.

.NET Framework
Available since 3.0
Return to top
Show: