Compartir a través de


ClaimsPrincipal.WriteTo Método

Definición

Sobrecargas

WriteTo(BinaryWriter)

Se serializa usando un BinaryWriter.

WriteTo(BinaryWriter, Byte[])

Se serializa usando un BinaryWriter.

WriteTo(BinaryWriter)

Se serializa usando 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)

Parámetros

writer
BinaryWriter

El sistema de escritura que se usará para el almacenamiento de datos.

Excepciones

writer es null.

Se aplica a

WriteTo(BinaryWriter, Byte[])

Se serializa usando 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())

Parámetros

writer
BinaryWriter

El sistema de escritura que se usará para el almacenamiento de datos.

userData
Byte[]

Datos adicionales proporcionados por el tipo derivado.

Excepciones

writer es null.

Se aplica a