Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

ObjectSerializer Class

Definition

Namespace:
Azure.Core.Serialization
Assembly:
Azure.Core.dll
Package:
Azure.Core v1.58.0
Source:
ObjectSerializer.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

An abstraction for reading typed objects.

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

Constructors

Name Description
ObjectSerializer()

Methods

Name Description
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


Feedback

Was this page helpful?