Redigera

Dela via


DefaultMemoryMessageBodySerializer.Serialize(MemoryMessageBody) Method

Definition

Serialize MemoryMessageBody to an array segment of bytes.

public ArraySegment<byte> Serialize (Orleans.Providers.MemoryMessageBody body);
abstract member Serialize : Orleans.Providers.MemoryMessageBody -> ArraySegment<byte>
override this.Serialize : Orleans.Providers.MemoryMessageBody -> ArraySegment<byte>
Public Function Serialize (body As MemoryMessageBody) As ArraySegment(Of Byte)

Parameters

body
MemoryMessageBody

The body.

Returns

The serialized data.

Implements

Applies to