SamlSecurityTokenHandler.WriteCondition(XmlWriter, SamlCondition) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Serializes the specified SamlCondition object.
protected:
virtual void WriteCondition(System::Xml::XmlWriter ^ writer, System::IdentityModel::Tokens::SamlCondition ^ condition);
protected virtual void WriteCondition(System.Xml.XmlWriter writer, System.IdentityModel.Tokens.SamlCondition condition);
abstract member WriteCondition : System.Xml.XmlWriter * System.IdentityModel.Tokens.SamlCondition -> unit
override this.WriteCondition : System.Xml.XmlWriter * System.IdentityModel.Tokens.SamlCondition -> unit
Protected Overridable Sub WriteCondition (writer As XmlWriter, condition As SamlCondition)
- condition
- SamlCondition
The data to write. By default, only SamlAudienceRestrictionCondition and SamlDoNotCacheCondition are supported.
condition
is not supported. . By default, only SamlAudienceRestrictionCondition and SamlDoNotCacheCondition are supported.
By default, the method invokes either the WriteAudienceRestrictionCondition or WriteDoNotCacheCondition method to serialize the condition based on the type of SamlCondition specified.
Продукт | Версии |
---|---|
.NET Framework | 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Обратна връзка за .NET
.NET е проект с отворен код. Изберете връзка, за да предоставите обратна връзка: