แก้ไข

แชร์ผ่าน


Saml2SecurityTokenHandler.WriteNameId(XmlWriter, Saml2NameIdentifier) Method

Definition

Writes the <saml:NameID> element.

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

Parameters

writer
XmlWriter

The XmlWriter with which to serialize the Saml2NameIdentifier.

data
Saml2NameIdentifier

The Saml2NameIdentifier to be serialized.

Exceptions

data is null.

-or-

writer is null.

The Saml2NameIdentifier encrypting credentials must have a Symmetric Key specified.

Applies to