Saml2SecurityTokenHandler.WriteAttributeValue Method

Definition

Writes the saml:Attribute value.

C#
protected virtual void WriteAttributeValue(System.Xml.XmlWriter writer, string value, System.IdentityModel.Tokens.Saml2Attribute attribute);

Parameters

writer
XmlWriter

The XmlWriter with which to write.

value
String

A string that contains the attribute value to be written.

attribute
Saml2Attribute

A Saml2Attribute that represents the attribute whose value is being written.

Exceptions

writer is null.

Remarks

By default the method writes the value as a string.

Applies to

Produkt Versiounen
.NET Framework 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