MetadataSerializer.WriteMetadataCore(XmlWriter, MetadataBase) 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.
Writes the metadata.
protected:
 virtual void WriteMetadataCore(System::Xml::XmlWriter ^ writer, System::IdentityModel::Metadata::MetadataBase ^ metadataBase);protected virtual void WriteMetadataCore(System.Xml.XmlWriter writer, System.IdentityModel.Metadata.MetadataBase metadataBase);abstract member WriteMetadataCore : System.Xml.XmlWriter * System.IdentityModel.Metadata.MetadataBase -> unit
override this.WriteMetadataCore : System.Xml.XmlWriter * System.IdentityModel.Metadata.MetadataBase -> unitProtected Overridable Sub WriteMetadataCore (writer As XmlWriter, metadataBase As MetadataBase)Parameters
- writer
- XmlWriter
The XML writer.
- metadataBase
- MetadataBase
The SAML metadata base. An instance of the EntityDescriptor or EntitiesDescriptor class.
Exceptions
metadataBase is not assignable from EntityDescriptor or EntitiesDescriptor.