Expand Minimize

Saml2SecurityTokenHandler.CreateXmlStringFromAttributes Method

.NET Framework 4.6 and 4.5

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

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

abstract CreateXmlStringFromAttributes : 
        attributes:IEnumerable<Saml2Attribute> -> string  
override CreateXmlStringFromAttributes : 
        attributes:IEnumerable<Saml2Attribute> -> string

Parameters

attributes
Type: System.Collections.Generic.IEnumerable(Saml2Attribute)

An enumeration of type Saml2Attribute that contains the attributes.

Return Value

Type: System.String
A well-formed XML string constructed using the attributes.

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

.NET Framework

Supported in: 4.6, 4.5
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft