Sdílet prostřednictvím


ResponseMessage Constructors

Definition

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