Redigera

Dela via


DefaultMemoryMessageBodySerializer Class

Definition

Default IMemoryMessageBodySerializer implementation.

[System.Serializable]
public class DefaultMemoryMessageBodySerializer : Orleans.Providers.IMemoryMessageBodySerializer, Orleans.Serialization.IOnDeserialized
[System.Serializable]
[Orleans.GenerateSerializer]
[Orleans.Immutable]
[Orleans.SerializationCallbacks(typeof(Orleans.Runtime.OnDeserializedCallbacks))]
public sealed class DefaultMemoryMessageBodySerializer : Orleans.Providers.IMemoryMessageBodySerializer, Orleans.Serialization.IOnDeserialized
[<System.Serializable>]
type DefaultMemoryMessageBodySerializer = class
    interface IMemoryMessageBodySerializer
    interface IOnDeserialized
[<System.Serializable>]
[<Orleans.GenerateSerializer>]
[<Orleans.Immutable>]
[<Orleans.SerializationCallbacks(typeof(Orleans.Runtime.OnDeserializedCallbacks))>]
type DefaultMemoryMessageBodySerializer = class
    interface IMemoryMessageBodySerializer
    interface IOnDeserialized
Public Class DefaultMemoryMessageBodySerializer
Implements IMemoryMessageBodySerializer, IOnDeserialized
Public NotInheritable Class DefaultMemoryMessageBodySerializer
Implements IMemoryMessageBodySerializer, IOnDeserialized
Inheritance
DefaultMemoryMessageBodySerializer
Attributes
Implements

Constructors

DefaultMemoryMessageBodySerializer(SerializationManager)

Initializes a new instance of the DefaultMemoryMessageBodySerializer class.

DefaultMemoryMessageBodySerializer(Serializer<MemoryMessageBody>)

Initializes a new instance of the DefaultMemoryMessageBodySerializer class.

Methods

Deserialize(ArraySegment<Byte>)

Deserialize an array segment into a MemoryMessageBody

Serialize(MemoryMessageBody)

Serialize MemoryMessageBody to an array segment of bytes.

Explicit Interface Implementations

IOnDeserialized.OnDeserialized(DeserializationContext)

Notifies this instance that it has been fully deserialized.

IOnDeserialized.OnDeserialized(ISerializerContext)

Applies to