HttpProtocolException(Int64, String, Exception) Konstruktor

Definicja

Inicjuje HttpProtocolException nowe wystąpienie klasy z określonym kodem błędu, komunikatem i wyjątkiem wewnętrznym.

public:
 HttpProtocolException(long errorCode, System::String ^ message, Exception ^ innerException);
public HttpProtocolException (long errorCode, string? message, Exception? innerException);
public HttpProtocolException (long errorCode, string message, Exception? innerException);
new System.Net.Http.HttpProtocolException : int64 * string * Exception -> System.Net.Http.HttpProtocolException
Public Sub New (errorCode As Long, message As String, innerException As Exception)

Parametry

errorCode
Int64

Kod błędu HTTP/2 lub HTTP/3.

message
String

Komunikat o błędzie wyjaśniający przyczynę wyjątku.

innerException
Exception

Wyjątek będący przyczyną bieżącego wyjątku.

Dotyczy