ClaimsIdentity.WriteTo Methode

Definition

Überlädt

WriteTo(BinaryWriter)

Serialisiert mithilfe von BinaryWriter.

WriteTo(BinaryWriter, Byte[])

Serialisiert mithilfe von BinaryWriter.

WriteTo(BinaryWriter)

Serialisiert mithilfe von 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.

Ausnahmen

writer ist null.

Gilt für

WriteTo(BinaryWriter, Byte[])

Serialisiert mithilfe von 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())

Parameter

writer
BinaryWriter

Der Writer, die für die Speicherung von Daten verwendet werden soll.

userData
Byte[]

Zusätzliche Daten, die von einem abgeleiteten Typ bereitgestellt werden.

Ausnahmen

writer ist null.

Gilt für