SamlSecurityTokenHandler.CreateXmlStringFromAttributes 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
從一組代表演員的 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
參數
- attributes
- ICollection<SamlAttribute>
傳回
一個結構良好的 XML 字串。
備註
字串的形式為「<Actor><SamlAttribute name, ns><SamlAttributeValue>...</SamlAttributeValue>, ...</Saml屬性>...</演員>」