共用方式為


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

適用於