Op Englesch liesen Editéieren

Deelen iwwer


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.

C#
public void PopulateDictionary(System.Xml.IXmlDictionary dictionary);

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

Produkt Versiounen
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1