IMemoryMessageBodySerializer.Serialize(MemoryMessageBody) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Serialize MemoryMessageBody to an array segment of bytes.
public ArraySegment<byte> Serialize (Orleans.Providers.MemoryMessageBody body);
abstract member 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.