HttpProtocolException(Int64, String, Exception) 생성자

정의

지정된 오류 코드, 메시지 및 내부 예외를 HttpProtocolException 사용하여 클래스의 새 instance 초기화합니다.

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

현재 예외의 원인인 예외입니다.

적용 대상