IExternalSerializer.Serialize(Object, ISerializationContext, Type) 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.
Tries to serialize an item.
public void Serialize (object item, Orleans.Serialization.ISerializationContext context, Type expectedType);
abstract member Serialize : obj * Orleans.Serialization.ISerializationContext * Type -> unit
Public Sub Serialize (item As Object, context As ISerializationContext, expectedType As Type)
Parameters
- item
- Object
The instance of the object being serialized
- context
- ISerializationContext
The context in which the object is being serialized.
- expectedType
- Type
The type that the deserializer will expect