Прочетете на английски Редактиране

Споделяне чрез


SamlSecurityTokenHandler.CreateXmlStringFromAttributes Method

Definition

Builds an XML formatted string from a collection of SAML 1.1 attributes that represent the Actor.

C#
protected virtual string CreateXmlStringFromAttributes(System.Collections.Generic.IEnumerable<System.IdentityModel.Tokens.SamlAttribute> attributes);

Parameters

attributes
IEnumerable<SamlAttribute>

An enumeration of type SamlAttribute that contains the attributes.

Returns

A well-formed XML string constructed using the attributes.

Remarks

The string is of the form "<Actor><Attribute name, ns><AttributeValue>...</AttributeValue>, ...</Attribute>...</Actor>"

Applies to

Продукт Версии
.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