Compartilhar via


Writer.CreatePooled Método

Definição

Sobrecargas

CreatePooled(SerializerSession)

Cria um gravador que grava em um buffer em pool.

CreatePooled(Stream, SerializerSession, Int32)

Cria um gravador que grava no destino especificado.

CreatePooled(SerializerSession)

Cria um gravador que grava em um buffer em pool.

public static Orleans.Serialization.Buffers.Writer<Orleans.Serialization.Buffers.PooledBuffer> CreatePooled (Orleans.Serialization.Session.SerializerSession session);
static member CreatePooled : Orleans.Serialization.Session.SerializerSession -> Orleans.Serialization.Buffers.Writer<Orleans.Serialization.Buffers.PooledBuffer>
Public Shared Function CreatePooled (session As SerializerSession) As Writer(Of PooledBuffer)

Parâmetros

session
SerializerSession

A sessão.

Retornos

Um novo Writer<TBufferWriter>.

Aplica-se a

CreatePooled(Stream, SerializerSession, Int32)

Cria um gravador que grava no destino especificado.

public static Orleans.Serialization.Buffers.Writer<Orleans.Serialization.Buffers.Adaptors.PoolingStreamBufferWriter> CreatePooled (System.IO.Stream destination, Orleans.Serialization.Session.SerializerSession session, int sizeHint = 0);
static member CreatePooled : System.IO.Stream * Orleans.Serialization.Session.SerializerSession * int -> Orleans.Serialization.Buffers.Writer<Orleans.Serialization.Buffers.Adaptors.PoolingStreamBufferWriter>
Public Shared Function CreatePooled (destination As Stream, session As SerializerSession, Optional sizeHint As Integer = 0) As Writer(Of PoolingStreamBufferWriter)

Parâmetros

destination
Stream

O destino.

session
SerializerSession

A sessão.

sizeHint
Int32

A dica de tamanho.

Retornos

Um novo Writer<TBufferWriter>.

Aplica-se a