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
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for .NET