共用方式為


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