Edit

Share via


Saml2SecurityTokenHandler.WriteNameIdType Method

Definition

Both <Issuer> and <NameID> are of NameIDType. This method writes the content of either one of those elements.

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

Parameters

writer
XmlWriter

The XmlWriter with which to serialize the NameID type.

Exceptions

data is null.

-or-

writer is null.

Applies to