共用方式為


Saml2Serializer.WriteAdvice(XmlWriter, Saml2Advice) Method

Definition

Writes the <saml:Advice> element.

protected virtual void WriteAdvice (System.Xml.XmlWriter writer, Microsoft.IdentityModel.Tokens.Saml2.Saml2Advice advice);
abstract member WriteAdvice : System.Xml.XmlWriter * Microsoft.IdentityModel.Tokens.Saml2.Saml2Advice -> unit
override this.WriteAdvice : System.Xml.XmlWriter * Microsoft.IdentityModel.Tokens.Saml2.Saml2Advice -> unit
Protected Overridable Sub WriteAdvice (writer As XmlWriter, advice As Saml2Advice)

Parameters

writer
XmlWriter

A XmlWriter to serialize the Saml2Advice.

advice
Saml2Advice

The Saml2Advice to serialize.

Exceptions

if advice is null.

Applies to