Saml2SubjectConfirmation 构造函数

定义

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

重载

Saml2SubjectConfirmation(Uri)

使用指定的确认方法初始化 Saml2SubjectConfirmation 类的新实例。Initializes a new instance of the Saml2SubjectConfirmation class with the specified confirmation method.

Saml2SubjectConfirmation(Uri, Saml2SubjectConfirmationData)

用指定的确认方法和其他确认信息初始化 Saml2SubjectConfirmation 类的新实例。Initializes a new instance of the Saml2SubjectConfirmation class with the specified confirmation method and additional confirmation information.

Saml2SubjectConfirmation(Uri)

使用指定的确认方法初始化 Saml2SubjectConfirmation 类的新实例。Initializes a new instance of the Saml2SubjectConfirmation class with the specified confirmation method.

public:
 Saml2SubjectConfirmation(Uri ^ method);
public Saml2SubjectConfirmation (Uri method);
new System.IdentityModel.Tokens.Saml2SubjectConfirmation : Uri -> System.IdentityModel.Tokens.Saml2SubjectConfirmation
Public Sub New (method As Uri)

参数

method
Uri

指示确认方法的 UriThe Uri that indicates the confirmation method.

例外

methodnullmethod is null.

method 不是绝对 URI。method is not an absolute URI.

注解

SubjectConfirmationData 属性初始化为 nullThe SubjectConfirmationData property is initialized to null.

适用于

Saml2SubjectConfirmation(Uri, Saml2SubjectConfirmationData)

用指定的确认方法和其他确认信息初始化 Saml2SubjectConfirmation 类的新实例。Initializes a new instance of the Saml2SubjectConfirmation class with the specified confirmation method and additional confirmation information.

public:
 Saml2SubjectConfirmation(Uri ^ method, System::IdentityModel::Tokens::Saml2SubjectConfirmationData ^ data);
public Saml2SubjectConfirmation (Uri method, System.IdentityModel.Tokens.Saml2SubjectConfirmationData data);
new System.IdentityModel.Tokens.Saml2SubjectConfirmation : Uri * System.IdentityModel.Tokens.Saml2SubjectConfirmationData -> System.IdentityModel.Tokens.Saml2SubjectConfirmation
Public Sub New (method As Uri, data As Saml2SubjectConfirmationData)

参数

method
Uri

指示确认方法的 UriThe Uri that indicates the confirmation method.

data
Saml2SubjectConfirmationData

包含附加确认信息的 Saml2SubjectConfirmationDataThe Saml2SubjectConfirmationData that contains the additional confirmation information.

例外

methodnullmethod is null.

method 不是绝对 URI。method is not an absolute URI.

适用于