Edit

Share via


MetadataExporter.GetGeneratedMetadata Method

Definition

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.

Applies to