SerializationManager.Register 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.
Overloads
Register(Type, DeepCopier, Serializer, Deserializer) |
Register a Type with the serialization system to use the specified DeepCopier, Serializer and Deserializer functions. |
Register(Type, SerializationManager+DeepCopier, SerializationManager+Serializer, SerializationManager+Deserializer) |
Register a Type with the serialization system to use the specified DeepCopier, Serializer and Deserializer functions. |
Register(Type, DeepCopier, Serializer, Deserializer)
- Source:
- SerializationManager.cs
Register a Type with the serialization system to use the specified DeepCopier, Serializer and Deserializer functions.
public void Register (Type t, Orleans.Serialization.DeepCopier cop, Orleans.Serialization.Serializer ser, Orleans.Serialization.Deserializer deser);
member this.Register : Type * Orleans.Serialization.DeepCopier * Orleans.Serialization.Serializer * Orleans.Serialization.Deserializer -> unit
Public Sub Register (t As Type, cop As DeepCopier, ser As Serializer, deser As Deserializer)
Parameters
- t
- Type
Type to be registered.
- cop
- DeepCopier
DeepCopier function for this type.
- ser
- Serializer
Serializer function for this type.
- deser
- Deserializer
Deserializer function for this type.
Applies to
Register(Type, SerializationManager+DeepCopier, SerializationManager+Serializer, SerializationManager+Deserializer)
Register a Type with the serialization system to use the specified DeepCopier, Serializer and Deserializer functions.
public void Register (Type t, Orleans.Serialization.SerializationManager.DeepCopier cop, Orleans.Serialization.SerializationManager.Serializer ser, Orleans.Serialization.SerializationManager.Deserializer deser);
member this.Register : Type * Orleans.Serialization.SerializationManager.DeepCopier * Orleans.Serialization.SerializationManager.Serializer * Orleans.Serialization.SerializationManager.Deserializer -> unit
Public Sub Register (t As Type, cop As SerializationManager.DeepCopier, ser As SerializationManager.Serializer, deser As SerializationManager.Deserializer)
Parameters
- t
- Type
Type to be registered.
DeepCopier function for this type.
Serializer function for this type.
Deserializer function for this type.