ClaimsPrincipal.WriteTo Método

Definição

Sobrecargas

WriteTo(BinaryWriter)

Serializa usando um BinaryWriter.Serializes using a BinaryWriter.

WriteTo(BinaryWriter, Byte[])

Serializa usando um BinaryWriter.Serializes using a BinaryWriter.

WriteTo(BinaryWriter)

Serializa usando um 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)

Parâmetros

writer
BinaryWriter

O gravador a ser usado para armazenamento de dados.The writer to use for data storage.

Exceções

writer é null.writer is null.

Aplica-se a

WriteTo(BinaryWriter, Byte[])

Serializa usando um 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);
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

O gravador a ser usado para armazenamento de dados.The writer to use for data storage.

userData
Byte[]

Dados adicionais fornecidos por um tipo derivado.Additional data provided by the derived type.

Exceções

writer é null.writer is null.

Aplica-se a