Condividi tramite


Writer.CreatePooled Metodo

Definizione

Overload

CreatePooled(SerializerSession)

Crea un writer che scrive in un buffer in pool.

CreatePooled(Stream, SerializerSession, Int32)

Crea un writer che scrive nella destinazione specificata.

CreatePooled(SerializerSession)

Crea un writer che scrive in un buffer in 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)

Parametri

session
SerializerSession

Sessione.

Restituisce

Nuovo oggetto Writer<TBufferWriter>.

Si applica a

CreatePooled(Stream, SerializerSession, Int32)

Crea un writer che scrive nella destinazione specificata.

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)

Parametri

destination
Stream

Destinazione.

session
SerializerSession

Sessione.

sizeHint
Int32

Suggerimento per le dimensioni.

Restituisce

Nuovo oggetto Writer<TBufferWriter>.

Si applica a