RequestMessage 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 a request in the processing pipeline of the Azure Cosmos DB SDK.
public class RequestMessage : IDisposable
type RequestMessage = class
interface IDisposable
Public Class RequestMessage
Implements IDisposable
- Inheritance
-
RequestMessage
- Implements
Remarks
It is expected that direct property access is used for properties that will be read and used within the Azure Cosmos SDK pipeline, for example Microsoft.Azure.Cosmos.RequestMessage.OperationType. Properties should be used for any other property that needs to be sent to the backend but will not be read nor used within the Azure Cosmos DB SDK pipeline. Headers should be used for HTTP headers that need to be passed down and sent to the backend.
Constructors
RequestMessage() |
Create a RequestMessage |
RequestMessage(HttpMethod, Uri) |
Create a RequestMessage |
Properties
Content |
Gets or sets the current RequestMessage payload. |
Headers |
Gets the current RequestMessage HTTP headers. |
Method |
Gets the HttpMethod for the current request. |
Properties |
Request properties Per request context available to handlers. These will not be automatically included into the wire. |
RequestUri |
Gets the Uri for the current request. |
Methods
Dispose() |
Disposes the current RequestMessage. |
Dispose(Boolean) |
Disposes of the request message content |
Applies to
Azure SDK for .NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기