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
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.