Edit

Share via


BondSerializer.Serialize(Object, ISerializationContext, Type) Method

Definition

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
override this.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

Implements

Applies to