共用方式為


Writer.CreatePooled 方法

定義

多載

CreatePooled(SerializerSession)

建立寫入至集區緩衝區的寫入器。

CreatePooled(Stream, SerializerSession, Int32)

建立寫入至指定目的地的寫入器。

CreatePooled(SerializerSession)

建立寫入至集區緩衝區的寫入器。

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)

參數

session
SerializerSession

會話。

傳回

新的 Writer<TBufferWriter>

適用於

CreatePooled(Stream, SerializerSession, Int32)

建立寫入至指定目的地的寫入器。

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)

參數

destination
Stream

目的地。

session
SerializerSession

會話。

sizeHint
Int32

大小提示。

傳回

新的 Writer<TBufferWriter>

適用於