SamlSecurityTokenHandler.CreateXmlStringFromAttributes 方法

定义

从表示 Actor 的 saml 属性集合中生成 XML 格式的字符串。

protected virtual string CreateXmlStringFromAttributes(System.Collections.Generic.ICollection<Microsoft.IdentityModel.Tokens.Saml.SamlAttribute> attributes);
abstract member CreateXmlStringFromAttributes : System.Collections.Generic.ICollection<Microsoft.IdentityModel.Tokens.Saml.SamlAttribute> -> string
override this.CreateXmlStringFromAttributes : System.Collections.Generic.ICollection<Microsoft.IdentityModel.Tokens.Saml.SamlAttribute> -> string
Protected Overridable Function CreateXmlStringFromAttributes (attributes As ICollection(Of SamlAttribute)) As String

参数

返回

格式良好的 XML 字符串。

注解

字符串的格式为“<Actor><SamlAttribute name, ns><SamlAttributeValue>...</SamlAttributeValue>, ...</SamlAttribute>...</Actor>”

适用于