HttpProtocolException(Int64, String, Exception) Constructor

Definitie

Initialiseert een nieuw exemplaar van de HttpProtocolException klasse met de opgegeven foutcode, het bericht en de interne uitzondering.

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)

Parameters

errorCode
Int64

De HTTP/2- of HTTP/3-foutcode.

message
String

In het foutbericht wordt de reden voor de uitzondering uitgelegd.

innerException
Exception

De uitzondering die de oorzaak is van de huidige uitzondering.

Van toepassing op