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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET