Partager via


Writer.CreatePooled Méthode

Définition

Surcharges

CreatePooled(SerializerSession)

Crée un writer qui écrit dans une mémoire tampon mise en pool.

CreatePooled(Stream, SerializerSession, Int32)

Crée un writer qui écrit dans la destination spécifiée.

CreatePooled(SerializerSession)

Crée un writer qui écrit dans une mémoire tampon mise en 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)

Paramètres

session
SerializerSession

Session.

Retours

Nouveau Writer<TBufferWriter>.

S’applique à

CreatePooled(Stream, SerializerSession, Int32)

Crée un writer qui écrit dans la destination spécifiée.

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)

Paramètres

destination
Stream

Destination.

session
SerializerSession

Session.

sizeHint
Int32

Indicateur de taille.

Retours

Nouveau Writer<TBufferWriter>.

S’applique à