ErrorResponse 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
ErrorResponse() |
Initializes a new instance of the ErrorResponse class. |
ErrorResponse(String, String, IList<ErrorFieldContract>) |
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, IList<ErrorFieldContract>)
Initializes a new instance of the ErrorResponse class.
public ErrorResponse (string code = default, string message = default, System.Collections.Generic.IList<Microsoft.Azure.Management.ApiManagement.Models.ErrorFieldContract> details = default);
new Microsoft.Azure.Management.ApiManagement.Models.ErrorResponse : string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.ApiManagement.Models.ErrorFieldContract> -> Microsoft.Azure.Management.ApiManagement.Models.ErrorResponse
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
Azure SDK for .NET
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk