SamlSubjectStatement 构造函数

定义

初始化 SamlSubjectStatement 类的新实例。Initializes a new instance of the SamlSubjectStatement class.

重载

SamlSubjectStatement()

初始化 SamlSubjectStatement 类的新实例。Initializes a new instance of the SamlSubjectStatement class.

SamlSubjectStatement(SamlSubject)

使用指定的主题初始化 SamlSubjectStatement 类的新实例。Initializes a new instance of the SamlSubjectStatement class using the specified subject.

SamlSubjectStatement()

初始化 SamlSubjectStatement 类的新实例。Initializes a new instance of the SamlSubjectStatement class.

protected:
 SamlSubjectStatement();
protected SamlSubjectStatement ();
Protected Sub New ()

注解

此构造函数初始化了 IsReadOnly 属性。This constructor initializes the IsReadOnly property.

适用于

SamlSubjectStatement(SamlSubject)

使用指定的主题初始化 SamlSubjectStatement 类的新实例。Initializes a new instance of the SamlSubjectStatement class using the specified subject.

protected:
 SamlSubjectStatement(System::IdentityModel::Tokens::SamlSubject ^ samlSubject);
protected SamlSubjectStatement (System.IdentityModel.Tokens.SamlSubject samlSubject);
new System.IdentityModel.Tokens.SamlSubjectStatement : System.IdentityModel.Tokens.SamlSubject -> System.IdentityModel.Tokens.SamlSubjectStatement
Protected Sub New (samlSubject As SamlSubject)

参数

samlSubject
SamlSubject

一个 SamlSubject,它标识 SamlSecurityToken 安全令牌的主题。A SamlSubject that identifies the subject of a SamlSecurityToken security token. 设置 SamlSubject 属性。Sets the SamlSubject property.

注解

此构造函数初始化了 IsReadOnly 属性。This constructor initializes the IsReadOnly property.

适用于