Partager via


ClaimsIdentity.WriteTo Méthode

Définition

Surcharges

WriteTo(BinaryWriter)

Sérialise à l’aide d’un BinaryWriter.

WriteTo(BinaryWriter, Byte[])

Sérialise à l’aide d’un BinaryWriter.

WriteTo(BinaryWriter)

Sérialise à l’aide d’un BinaryWriter.

public:
 virtual void WriteTo(System::IO::BinaryWriter ^ writer);
public virtual void WriteTo (System.IO.BinaryWriter writer);
abstract member WriteTo : System.IO.BinaryWriter -> unit
override this.WriteTo : System.IO.BinaryWriter -> unit
Public Overridable Sub WriteTo (writer As BinaryWriter)

Paramètres

writer
BinaryWriter

Enregistreur à utiliser pour le stockage de données.

Exceptions

writer a la valeur null.

S’applique à

WriteTo(BinaryWriter, Byte[])

Sérialise à l’aide d’un BinaryWriter.

protected:
 virtual void WriteTo(System::IO::BinaryWriter ^ writer, cli::array <System::Byte> ^ userData);
protected virtual void WriteTo (System.IO.BinaryWriter writer, byte[] userData);
protected virtual void WriteTo (System.IO.BinaryWriter writer, byte[]? userData);
abstract member WriteTo : System.IO.BinaryWriter * byte[] -> unit
override this.WriteTo : System.IO.BinaryWriter * byte[] -> unit
Protected Overridable Sub WriteTo (writer As BinaryWriter, userData As Byte())

Paramètres

writer
BinaryWriter

Enregistreur à utiliser pour le stockage de données.

userData
Byte[]

Données supplémentaires fournies par le type dérivé.

Exceptions

writer a la valeur null.

S’applique à