SamlSerializer.PopulateDictionary Method (IXmlDictionary)


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

Namespace:   System.IdentityModel.Tokens
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

public void PopulateDictionary(
	IXmlDictionary dictionary


Type: System.Xml.IXmlDictionary

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

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.

.NET Framework
Available since 3.0
Return to top