DefaultMemoryMessageBodySerializer Class
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.
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) |