Saml2SecurityTokenHandler.CreateXmlStringFromAttributes Method (IEnumerable(Of Saml2Attribute))

.NET Framework (current version)

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)

Protected Overridable Function CreateXmlStringFromAttributes (
	attributes As IEnumerable(Of Saml2Attribute)
) As String


Type: System.Collections.Generic.IEnumerable(Of 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
Available since 4.5
Return to top