MetadataExporter.GetGeneratedMetadata Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
When overridden in a derived class, returns the metadata generated by a call to either ExportContract(ContractDescription), ExportEndpoint(ServiceEndpoint), or ExportPolicy(ServiceEndpoint).
public:
abstract System::ServiceModel::Description::MetadataSet ^ GetGeneratedMetadata();
public abstract System.ServiceModel.Description.MetadataSet GetGeneratedMetadata ();
abstract member GetGeneratedMetadata : unit -> System.ServiceModel.Description.MetadataSet
Public MustOverride Function GetGeneratedMetadata () As MetadataSet
Returns
An enumerable collection of MetadataSection objects that contain the exported metadata.
Remarks
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.