Share via


ErrorResponseBody Constructors

Definition

Overloads

ErrorResponseBody()

Initializes a new instance of the ErrorResponseBody class.

ErrorResponseBody(String, String, IList<ErrorFieldContract>)

Initializes a new instance of the ErrorResponseBody class.

ErrorResponseBody()

Initializes a new instance of the ErrorResponseBody class.

public ErrorResponseBody ();
Public Sub New ()

Applies to

ErrorResponseBody(String, String, IList<ErrorFieldContract>)

Initializes a new instance of the ErrorResponseBody class.

public ErrorResponseBody (string code = default, string message = default, System.Collections.Generic.IList<Microsoft.Azure.Management.ApiManagement.Models.ErrorFieldContract> details = default);
new Microsoft.Azure.Management.ApiManagement.Models.ErrorResponseBody : string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.ApiManagement.Models.ErrorFieldContract> -> Microsoft.Azure.Management.ApiManagement.Models.ErrorResponseBody
Public Sub New (Optional code As String = Nothing, Optional message As String = Nothing, Optional details As IList(Of ErrorFieldContract) = Nothing)

Parameters

code
String

Service-defined error code. This code serves as a sub-status for the HTTP error code specified in the response.

message
String

Human-readable representation of the error.

details
IList<ErrorFieldContract>

The list of invalid fields send in request, in case of validation error.

Applies to