SamlSerializer.PopulateDictionary(IXmlDictionary) Method

Definition

Replaces the default set of XML elements and attributes that are recognized by this serializer with the specified dictionary of elements and attributes.

public:
 void PopulateDictionary(System::Xml::IXmlDictionary ^ dictionary);
public void PopulateDictionary (System.Xml.IXmlDictionary dictionary);
member this.PopulateDictionary : System.Xml.IXmlDictionary -> unit
Public Sub PopulateDictionary (dictionary As IXmlDictionary)

Parameters

dictionary
IXmlDictionary

An IXmlDictionary that contains the set of XML elements and attributes.

Remarks

Use the PopulateDictionary method when a custom set of XML elements is defined for one of the extensibility points of a SAML assertion. Extensibility points for a SAML assertion include the <saml:Advice>, <saml:Condition>, and <saml:Statement> elements. For more details about overriding how each of these elements are read, see the LoadAdvice(XmlDictionaryReader, SecurityTokenSerializer, SecurityTokenResolver), LoadCondition(XmlDictionaryReader, SecurityTokenSerializer, SecurityTokenResolver), and LoadStatement(XmlDictionaryReader, SecurityTokenSerializer, SecurityTokenResolver) methods.

Applies to