SamlSecurityTokenHandler.KeyInfoSerializer 属性

定义

获取或设置用于序列化和反序列化键标识程序的安全令牌序列化程序。Gets or sets the security token serializer that is used to serialize and deserialize key identifiers.

public:
 property System::IdentityModel::Selectors::SecurityTokenSerializer ^ KeyInfoSerializer { System::IdentityModel::Selectors::SecurityTokenSerializer ^ get(); void set(System::IdentityModel::Selectors::SecurityTokenSerializer ^ value); };
public System.IdentityModel.Selectors.SecurityTokenSerializer KeyInfoSerializer { get; set; }
member this.KeyInfoSerializer : System.IdentityModel.Selectors.SecurityTokenSerializer with get, set
Public Property KeyInfoSerializer As SecurityTokenSerializer

属性值

SecurityTokenSerializer

一个表示序列化程序的 SecurityTokenSerializerA SecurityTokenSerializer that represents the serializer.

例外

尝试将该值设置为 nullAn attempt to set the value to null occurs.

注解

序列化和反序列化 SecurityKeyIdentifier 对象。Serializes and deserializes SecurityKeyIdentifier objects.

适用于