Share via


ErrorResponse Constructors

Definition

Overloads

ErrorResponse()

Initializes a new instance of the ErrorResponse class.

ErrorResponse(String, String)

Initializes a new instance of the ErrorResponse class.

ErrorResponse()

Initializes a new instance of the ErrorResponse class.

public ErrorResponse ();
Public Sub New ()

Applies to

ErrorResponse(String, String)

Initializes a new instance of the ErrorResponse class.

public ErrorResponse (string code = default, string message = default);
new Microsoft.Azure.Management.CosmosDB.Models.ErrorResponse : string * string -> Microsoft.Azure.Management.CosmosDB.Models.ErrorResponse
Public Sub New (Optional code As String = Nothing, Optional message As String = Nothing)

Parameters

code
String

Error code.

message
String

Error message indicating why the operation failed.

Applies to