SamlSecurityTokenHandler.CreateAdvice(SecurityTokenDescriptor) 方法

定义

当在派生类中重写时,为该断言创建一个 SamlAdvice 对象。

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

参数

tokenDescriptor
SecurityTokenDescriptor

标记描述符。

返回

SamlAdvice 对象。 默认值为 null

注解

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

适用于