SerializationManager.SerializeInner 方法

定义

重载

SerializeInner(Object, ISerializationContext, Type)

将对象编码为提供的二进制令牌流。

SerializeInner<T>(T, ISerializationContext)

将对象编码为提供的二进制令牌流。

SerializeInner(Object, ISerializationContext, Type)

Source:
SerializationManager.cs

将对象编码为提供的二进制令牌流。

public static void SerializeInner (object obj, Orleans.Serialization.ISerializationContext context, Type expected);
static member SerializeInner : obj * Orleans.Serialization.ISerializationContext * Type -> unit
Public Shared Sub SerializeInner (obj As Object, context As ISerializationContext, expected As Type)

参数

obj
Object

要序列化的输入数据。

context
ISerializationContext

序列化上下文。

expected
Type

此流上的当前预期类型。

适用于

SerializeInner<T>(T, ISerializationContext)

Source:
SerializationManager.cs

将对象编码为提供的二进制令牌流。

public static void SerializeInner<T> (T obj, Orleans.Serialization.ISerializationContext context);
static member SerializeInner : 'T * Orleans.Serialization.ISerializationContext -> unit
Public Shared Sub SerializeInner(Of T) (obj As T, context As ISerializationContext)

类型参数

T

参数

obj
T

要序列化的输入数据。

context
ISerializationContext

序列化上下文。

适用于