語言

QuicException 建構函式

定義

多載

名稱 Description
QuicException(IntPtr, JniHandleOwnership)
QuicException(String, Throwable)

構造一個由 QUIC 協定錯誤引起的例外。

QuicException(IntPtr, JniHandleOwnership)

protected QuicException(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Net.Http.QuicException : nativeint * Android.Runtime.JniHandleOwnership -> Android.Net.Http.QuicException

參數

javaReference
IntPtr

nativeint

適用於

QuicException(String, Throwable)

構造一個由 QUIC 協定錯誤引起的例外。

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Throwable;)V", "", ApiSince=34)]
protected QuicException(string? message, Java.Lang.Throwable? cause);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Throwable;)V", "", ApiSince=34)>]
new Android.Net.Http.QuicException : string * Java.Lang.Throwable -> Android.Net.Http.QuicException

參數

message
String

失效解釋。

cause
Throwable

原因(該方法會保存以供日後檢索 java.io.IOException#getCause getCause() )。 允許使用空值,表示原因不存在或未知。

屬性

備註

構造一個由 QUIC 協定錯誤引起的例外。

Java 文件 android.net.http.QuicException.QuicException(java.lang.String, java.lang.Throwable)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於