你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ObjectSerializer Class

Definition

An abstraction for reading typed objects.

public abstract class ObjectSerializer
type ObjectSerializer = class
Public MustInherit Class ObjectSerializer
Inheritance
ObjectSerializer
Derived

Constructors

ObjectSerializer()

Methods

Deserialize(Stream, Type, CancellationToken)

Read the binary representation into a returnType. The Stream will be read to completion.

DeserializeAsync(Stream, Type, CancellationToken)

Read the binary representation into a returnType. The Stream will be read to completion.

Serialize(Object, Type, CancellationToken)

Convert the provided value to it's binary representation and return it as a BinaryData instance.

Serialize(Stream, Object, Type, CancellationToken)

Convert the provided value to it's binary representation and write it to Stream.

SerializeAsync(Object, Type, CancellationToken)

Convert the provided value to it's binary representation and return it as a BinaryData instance.

SerializeAsync(Stream, Object, Type, CancellationToken)

Convert the provided value to it's binary representation and write it to Stream.

Applies to