Saml2AuthenticationContext 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 Saml2AuthenticationContext 类的新实例。
重载
| 名称 | 说明 |
|---|---|
| Saml2AuthenticationContext() |
初始化 Saml2AuthenticationContext 类的新实例。 |
| Saml2AuthenticationContext(Uri) |
使用指定的类引用初始化类的新实例 Saml2AuthenticationContext 。 |
| Saml2AuthenticationContext(Uri, Uri) |
使用指定的类引用和声明引用初始化类的新实例 Saml2AuthenticationContext 。 |
Saml2AuthenticationContext()
初始化 Saml2AuthenticationContext 类的新实例。
public:
Saml2AuthenticationContext();
public Saml2AuthenticationContext();
Public Sub New ()
注解
新实例中Saml2AuthenticationContext设置null属性ClassReference和DeclarationReference属性。
适用于
Saml2AuthenticationContext(Uri)
使用指定的类引用初始化类的新实例 Saml2AuthenticationContext 。
public:
Saml2AuthenticationContext(Uri ^ classReference);
public Saml2AuthenticationContext(Uri classReference);
new System.IdentityModel.Tokens.Saml2AuthenticationContext : Uri -> System.IdentityModel.Tokens.Saml2AuthenticationContext
Public Sub New (classReference As Uri)
参数
- classReference
- Uri
身份验证上下文的类引用。
例外
classReference 不是 null ,不是绝对 URI。
注解
该 DeclarationReference 属性设置为 null 在新 Saml2AuthenticationContext 实例中。
适用于
Saml2AuthenticationContext(Uri, Uri)
使用指定的类引用和声明引用初始化类的新实例 Saml2AuthenticationContext 。
public:
Saml2AuthenticationContext(Uri ^ classReference, Uri ^ declarationReference);
public Saml2AuthenticationContext(Uri classReference, Uri declarationReference);
new System.IdentityModel.Tokens.Saml2AuthenticationContext : Uri * Uri -> System.IdentityModel.Tokens.Saml2AuthenticationContext
Public Sub New (classReference As Uri, declarationReference As Uri)
参数
- classReference
- Uri
身份验证上下文的类引用。
- declarationReference
- Uri
身份验证上下文的声明引用。