Saml2SecurityTokenHandler.CreateXmlStringFromAttributes Method
In this article
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Builds an XML formatted string from a collection of SAML 2.0 attributes that represent the Actor.
protected:
virtual System::String ^ CreateXmlStringFromAttributes(System::Collections::Generic::IEnumerable<System::IdentityModel::Tokens::Saml2Attribute ^> ^ attributes);
protected virtual string CreateXmlStringFromAttributes(System.Collections.Generic.IEnumerable<System.IdentityModel.Tokens.Saml2Attribute> attributes);
abstract member CreateXmlStringFromAttributes : seq<System.IdentityModel.Tokens.Saml2Attribute> -> string
override this.CreateXmlStringFromAttributes : seq<System.IdentityModel.Tokens.Saml2Attribute> -> string
Protected Overridable Function CreateXmlStringFromAttributes (attributes As IEnumerable(Of Saml2Attribute)) As String
- attributes
- IEnumerable<Saml2Attribute>
An enumeration of type Saml2Attribute that contains the attributes.
A well-formed XML string constructed using the attributes.
The string is of the form "<Actor><Attribute name, ns><AttributeValue>...</AttributeValue>, ...</Attribute>...</Actor>"
Applies to
Product | Versions |
---|---|
.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 |