Saml2SecurityTokenHandler.CreateAdvice(SecurityTokenDescriptor) 方法

定义

创建断言的 Saml2Advice 对象。

protected:
 virtual System::IdentityModel::Tokens::Saml2Advice ^ CreateAdvice(System::IdentityModel::Tokens::SecurityTokenDescriptor ^ tokenDescriptor);
protected virtual System.IdentityModel.Tokens.Saml2Advice CreateAdvice (System.IdentityModel.Tokens.SecurityTokenDescriptor tokenDescriptor);
abstract member CreateAdvice : System.IdentityModel.Tokens.SecurityTokenDescriptor -> System.IdentityModel.Tokens.Saml2Advice
override this.CreateAdvice : System.IdentityModel.Tokens.SecurityTokenDescriptor -> System.IdentityModel.Tokens.Saml2Advice
Protected Overridable Function CreateAdvice (tokenDescriptor As SecurityTokenDescriptor) As Saml2Advice

参数

tokenDescriptor
SecurityTokenDescriptor

标记描述符。

返回

Saml2Advice 对象。 默认值为 null

注解

默认情况下,此方法返回 null

适用于