HttpProtocolException(Int64, String, Exception) コンストラクター

定義

指定したエラー コード、メッセージ、および内部例外を使用して、 クラスの新しいインスタンス HttpProtocolException を初期化します。

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)

パラメーター

errorCode
Int64

HTTP/2 または HTTP/3 エラー コード。

message
String

例外の原因を説明するエラー メッセージ。

innerException
Exception

現在の例外の原因となった例外。

適用対象