Aracılığıyla paylaş


HttpProtocolException(Int64, String, Exception) Oluşturucu

Tanım

Belirtilen hata kodu, ileti ve iç özel durum ile sınıfının yeni bir örneğini HttpProtocolException başlatır.

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)

Parametreler

errorCode
Int64

HTTP/2 veya HTTP/3 hata kodu.

message
String

Özel durumun nedenini açıklayan hata iletisi.

innerException
Exception

Geçerli özel durumun nedeni olan özel durum.

Şunlara uygulanır