ComponentSpace SAML Class Library Reference

Advice.ToXml Method 

Serializes the advice to XML.

[Visual Basic]
Public Function ToXml( _
   ByVal xmlDocument As XmlDocument _
) As XmlElement
[C#]
public XmlElement ToXml(
   XmlDocument xmlDocument
);

Parameters

xmlDocument
The owning XML document.

Return Value

The advice as XML.

Exceptions

Exception Type Condition
SAMLSerializationException Thrown when the XML serialization fails.

See Also

Advice Class | ComponentSpace.SAML.Assertions Namespace