MediaReadMode Enum

Definition

Represents the mode for use with downloading attachment content (a.k.a. media) in the Azure Cosmos DB service.

public enum MediaReadMode
type MediaReadMode = 
Public Enum MediaReadMode
Inheritance
MediaReadMode

Fields

Name Value Description
Buffered 0

Content is buffered at the client and not directly streamed from the content store. Use Buffered to reduce the time taken to read and write media files.

Streamed 1

Content is directly streamed from the content store without any buffering at the client. Use Streamed to reduce the client memory overhead of reading and writing media files.

Applies to