HttpProtocolException(Int64, String, Exception) Konstruktor
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Initialisiert eine neue Instanz der HttpProtocolException Klasse mit dem angegebenen Fehlercode, der Meldung und der inneren Ausnahme.
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)
Parameter
- errorCode
- Int64
Der HTTP/2- oder HTTP/3-Fehlercode.
- message
- String
Die Fehlermeldung, die den Grund für die Ausnahme erläutert.
- innerException
- Exception
Die Ausnahme, die die Ursache der aktuellen Ausnahme ist.