MediaResponse Class
Definition
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.
Represents the response associated with retrieving attachment content from the Azure Cosmos DB service.
public sealed class MediaResponse : Microsoft.Azure.Documents.Client.IMediaResponse
type MediaResponse = class
interface IMediaResponse
Public NotInheritable Class MediaResponse
Implements IMediaResponse
- Inheritance
-
MediaResponse
- Implements
Constructors
MediaResponse() |
Constructor exposed for mocking purposes for the Azure Cosmos DB service. |
Properties
ActivityId |
Gets or sets the Activity ID for the request in the Azure Cosmos DB service. |
ContentLength |
Gets or sets the HTTP ContentLength header value in the Azure Cosmos DB service. |
ContentType |
Gets or sets the HTTP ContentType header value in the Azure Cosmos DB service. |
CurrentMediaStorageUsageInMB |
Gets the current attachment content (media) usage in megabytes from the Azure Cosmos DB service. |
MaxMediaStorageUsageInMB |
Gets the attachment content (media) storage quota in megabytes from the Azure Cosmos DB service. Retrieved from gateway. |
Media |
Gets or sets the attachment content stream in the Azure Cosmos DB service. |
ResponseHeaders |
Gets the headers associated with the response from the Azure Cosmos DB service. |
Slug |
Gets or sets the HTTP slug header value in the Azure Cosmos DB service. |
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應