AutoClientHttpError Constructor
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.
Initializes a new instance of the AutoClientHttpError class.
public:
AutoClientHttpError(int statusCode, System::Collections::Generic::IReadOnlyDictionary<System::String ^, Microsoft::Extensions::Primitives::StringValues> ^ responseHeaders, System::String ^ rawContent, System::String ^ reasonPhrase);
public AutoClientHttpError(int statusCode, System.Collections.Generic.IReadOnlyDictionary<string,Microsoft.Extensions.Primitives.StringValues> responseHeaders, string rawContent, string? reasonPhrase);
new Microsoft.Extensions.Http.AutoClient.AutoClientHttpError : int * System.Collections.Generic.IReadOnlyDictionary<string, Microsoft.Extensions.Primitives.StringValues> * string * string -> Microsoft.Extensions.Http.AutoClient.AutoClientHttpError
Public Sub New (statusCode As Integer, responseHeaders As IReadOnlyDictionary(Of String, StringValues), rawContent As String, reasonPhrase As String)
Parameters
- statusCode
- Int32
The HTTP status code of the response.
- responseHeaders
- IReadOnlyDictionary<String,StringValues>
The response headers.
- rawContent
- String
The raw string content of the response.
- reasonPhrase
- String
The HTTP error reason.
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.