Share via


SamlSecurityTokenHandler.WriteDoNotCacheCondition 方法

定义

写入 <saml:DoNotCacheCondition> 元素。

protected:
 virtual void WriteDoNotCacheCondition(System::Xml::XmlWriter ^ writer, System::IdentityModel::Tokens::SamlDoNotCacheCondition ^ condition);
protected virtual void WriteDoNotCacheCondition (System.Xml.XmlWriter writer, System.IdentityModel.Tokens.SamlDoNotCacheCondition condition);
abstract member WriteDoNotCacheCondition : System.Xml.XmlWriter * System.IdentityModel.Tokens.SamlDoNotCacheCondition -> unit
override this.WriteDoNotCacheCondition : System.Xml.XmlWriter * System.IdentityModel.Tokens.SamlDoNotCacheCondition -> unit
Protected Overridable Sub WriteDoNotCacheCondition (writer As XmlWriter, condition As SamlDoNotCacheCondition)

参数

writer
XmlWriter

用于写入数据的 XML 编写器。

condition
SamlDoNotCacheCondition

要写入的数据。

例外

writernull

conditionnull

适用于