SamlSecurityTokenHandler.CreateXmlStringFromAttributes(IEnumerable<SamlAttribute>) Método
Definição
Cria uma cadeia de caracteres com formatação XML com base em uma coleção de atributos de SAML 1.1 que representam o Ator.Builds an XML formatted string from a collection of SAML 1.1 attributes that represent the Actor.
protected:
virtual System::String ^ CreateXmlStringFromAttributes(System::Collections::Generic::IEnumerable<System::IdentityModel::Tokens::SamlAttribute ^> ^ attributes);
protected virtual string CreateXmlStringFromAttributes (System.Collections.Generic.IEnumerable<System.IdentityModel.Tokens.SamlAttribute> attributes);
abstract member CreateXmlStringFromAttributes : seq<System.IdentityModel.Tokens.SamlAttribute> -> string
override this.CreateXmlStringFromAttributes : seq<System.IdentityModel.Tokens.SamlAttribute> -> string
Protected Overridable Function CreateXmlStringFromAttributes (attributes As IEnumerable(Of SamlAttribute)) As String
Parâmetros
- attributes
- IEnumerable<SamlAttribute>
Uma enumeração do tipo SamlAttribute que contém os atributos.An enumeration of type SamlAttribute that contains the attributes.
Retornos
Uma cadeia de caracteres XML bem formada, construída com o uso dos atributos.A well-formed XML string constructed using the attributes.
Comentários
A cadeia de caracteres está no formato " <Actor> <Attribute name, ns> <AttributeValue> ... </AttributeValue> ,.. </Attribute> . ...</Actor>"The string is of the form "<Actor><Attribute name, ns><AttributeValue>...</AttributeValue>, ...</Attribute>...</Actor>"