Bagikan melalui


SamlSecurityTokenHandler.CreateXmlStringFromAttributes Metode

Definisi

Membangun string berformat XML dari kumpulan atribut SAML 1.1 yang mewakili 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

Parameter

attributes
IEnumerable<SamlAttribute>

Enumerasi jenis SamlAttribute yang berisi atribut .

Mengembalikan

String XML yang terbentuk dengan baik yang dibangun menggunakan atribut .

Keterangan

String berbentuk "<Actor><Attribute name, ns><AttributeValue>...</AttributeValue>, ...<>Atribut...</Actor>"

Berlaku untuk