ResponseMessage Constructors
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.
Overloads
ResponseMessage() |
Create a ResponseMessage |
ResponseMessage(HttpStatusCode, RequestMessage, String) |
Create a ResponseMessage |
ResponseMessage()
- Source:
- ResponseMessage.cs
Create a ResponseMessage
public ResponseMessage ();
Public Sub New ()
Applies to
ResponseMessage(HttpStatusCode, RequestMessage, String)
- Source:
- ResponseMessage.cs
Create a ResponseMessage
public ResponseMessage (System.Net.HttpStatusCode statusCode, Microsoft.Azure.Cosmos.RequestMessage requestMessage = default, string errorMessage = default);
new Microsoft.Azure.Cosmos.ResponseMessage : System.Net.HttpStatusCode * Microsoft.Azure.Cosmos.RequestMessage * string -> Microsoft.Azure.Cosmos.ResponseMessage
Public Sub New (statusCode As HttpStatusCode, Optional requestMessage As RequestMessage = Nothing, Optional errorMessage As String = Nothing)
Parameters
- statusCode
- HttpStatusCode
The HttpStatusCode of the response
- requestMessage
- RequestMessage
The RequestMessage object
- errorMessage
- String
The reason for failures if any.
Applies to
Samarbejd med os på GitHub
Kilden til dette indhold kan findes på GitHub, hvor du også kan oprette og gennemse problemer og pullanmodninger. Du kan få flere oplysninger i vores vejledning til bidragydere.
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om