Saml2AttributeStatement 构造函数

定义

初始化 Saml2AttributeStatement 类的新实例。

重载

Saml2AttributeStatement()

不带特性初始化 Saml2AttributeStatement 类的新实例。

Saml2AttributeStatement(IEnumerable<Saml2Attribute>)

初始化 Saml2AttributeStatement 类的新实例。

Saml2AttributeStatement(Saml2Attribute)

初始化 Saml2AttributeStatement 类的新实例。

Saml2AttributeStatement()

不带特性初始化 Saml2AttributeStatement 类的新实例。

public:
 Saml2AttributeStatement();
public Saml2AttributeStatement ();
Public Sub New ()

注解

属性 Attributes 初始化为空集合。

适用于

Saml2AttributeStatement(IEnumerable<Saml2Attribute>)

初始化 Saml2AttributeStatement 类的新实例。

public:
 Saml2AttributeStatement(System::Collections::Generic::IEnumerable<System::IdentityModel::Tokens::Saml2Attribute ^> ^ attributes);
public Saml2AttributeStatement (System.Collections.Generic.IEnumerable<System.IdentityModel.Tokens.Saml2Attribute> attributes);
new System.IdentityModel.Tokens.Saml2AttributeStatement : seq<System.IdentityModel.Tokens.Saml2Attribute> -> System.IdentityModel.Tokens.Saml2AttributeStatement
Public Sub New (attributes As IEnumerable(Of Saml2Attribute))

参数

attributes
IEnumerable<Saml2Attribute>

包含此语句包含的 Attribute 元素的类型 Saml2Attribute 的集合。

例外

attributesnull

- 或 -

attributes 指定的一个集合元素的是 null

注解

集合 Attributes (属性) 使用指定集合中的属性进行初始化。

适用于

Saml2AttributeStatement(Saml2Attribute)

初始化 Saml2AttributeStatement 类的新实例。

public:
 Saml2AttributeStatement(System::IdentityModel::Tokens::Saml2Attribute ^ attribute);
public Saml2AttributeStatement (System.IdentityModel.Tokens.Saml2Attribute attribute);
new System.IdentityModel.Tokens.Saml2AttributeStatement : System.IdentityModel.Tokens.Saml2Attribute -> System.IdentityModel.Tokens.Saml2AttributeStatement
Public Sub New (attribute As Saml2Attribute)

参数

attribute
Saml2Attribute

Saml2Attribute 表示此语句中包含的单个特性元素。

例外

attributenull

注解

集合 Attributes (属性) 使用指定的属性进行初始化。

适用于