WsFederationMetadataSerializer.WriteMetadata Method

Definition

Write the content in configuration into writer.

public void WriteMetadata (System.Xml.XmlWriter writer, Microsoft.IdentityModel.Protocols.WsFederation.WsFederationConfiguration configuration);
member this.WriteMetadata : System.Xml.XmlWriter * Microsoft.IdentityModel.Protocols.WsFederation.WsFederationConfiguration -> unit
Public Sub WriteMetadata (writer As XmlWriter, configuration As WsFederationConfiguration)

Parameters

writer
XmlWriter

The XmlWriter used to write the configuration content.

Exceptions

if configuration is null.

if error occurs when writing metadata.

Applies to