MediaResponse Class

Definition

Represents the response associated with retrieving attachment content from the Azure DocumentDB database service.

public sealed class MediaResponse : Microsoft.Azure.Documents.Client.IMediaResponse
Inheritance
MediaResponse
Implements

Constructors

MediaResponse()

Constructor exposed for mocking purposes for the Azure DocumentDB database service.

Properties

ActivityId

Gets or sets the Activity ID for the request in the Azure DocumentDB database service.

ContentLength

Gets or sets the HTTP ContentLength header value in the Azure DocumentDB database service.

ContentType

Gets or sets the HTTP ContentType header value in the Azure DocumentDB database service.

CurrentMediaStorageUsageInMB

Gets the current attachment content (media) usage in megabytes from the Azure DocumentDB database service.

MaxMediaStorageUsageInMB

Gets the attachment content (media) storage quota in megabytes from the Azure DocumentDB database service. Retrieved from gateway.

Media

Gets or sets the attachment content stream in the Azure DocumentDB database service.

ResponseHeaders

Gets the headers associated with the response from the Azure DocumentDB database service.

Slug

Gets or sets the HTTP slug header value in the Azure DocumentDB database service.

Extension Methods

IsDefined(Object)
IsNull(Object)
IsPrimitive(Object)