ClaimsIdentity.WriteTo Methode

Definition

Überlädt

WriteTo(BinaryWriter)

Serialisiert mithilfe von BinaryWriter.Serializes using a BinaryWriter.

WriteTo(BinaryWriter, Byte[])

Serialisiert mithilfe von BinaryWriter.Serializes using a BinaryWriter.

WriteTo(BinaryWriter)

Serialisiert mithilfe von BinaryWriter.Serializes using a 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)

Parameter

writer
BinaryWriter

Der Writer, die für die Speicherung von Daten verwendet werden soll.The writer to use for data storage.

Ausnahmen

writer ist nullwriter is null.

WriteTo(BinaryWriter, Byte[])

Serialisiert mithilfe von BinaryWriter.Serializes using a BinaryWriter.

protected:
 virtual void WriteTo(System::IO::BinaryWriter ^ writer, cli::array <System::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())

Parameter

writer
BinaryWriter

Der Writer, die für die Speicherung von Daten verwendet werden soll.The writer to use for data storage.

userData
Byte[]

Zusätzliche Daten, die von einem abgeleiteten Typ bereitgestellt werden.Additional data provided by the derived type.

Ausnahmen

writer ist nullwriter is null.

Gilt für: