Compartir a través de


ProtobufSerializer.Serialize(Object, ISerializationContext, Type) Método

Definición

Intenta serializar un elemento.

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)

Parámetros

item
Object

Instancia del objeto que se serializa

context
ISerializationContext

Contexto en el que se serializa el objeto.

expectedType
Type

Tipo que esperará el deserializador.

Implementaciones

Se aplica a