Επεξεργασία

Κοινή χρήση μέσω


Saml2SecurityTokenHandler.WriteToken(XmlWriter, SecurityToken) Method

Definition

Writes a Saml2 Token to the specified XML writer.

public:
 override void WriteToken(System::Xml::XmlWriter ^ writer, System::IdentityModel::Tokens::SecurityToken ^ token);
public override void WriteToken (System.Xml.XmlWriter writer, System.IdentityModel.Tokens.SecurityToken token);
override this.WriteToken : System.Xml.XmlWriter * System.IdentityModel.Tokens.SecurityToken -> unit
Public Overrides Sub WriteToken (writer As XmlWriter, token As SecurityToken)

Parameters

writer
XmlWriter

The XmlWriter with which to write the data.

token
SecurityToken

The token to write.

Exceptions

data is null.

-or-

writer is null.

token is not a Saml2SecurityToken object.

Applies to