語言

WriteAbortedException 建構函式

定義

多載

名稱 Description
WriteAbortedException(IntPtr, JniHandleOwnership)

建立 JNI 物件的 Managed 表示法時使用的建構函式;由運行時間呼叫。

WriteAbortedException(String, Exception)

建構一個 WriteAbortedException,並以字串描述該例外及導致中止的例外。

WriteAbortedException(IntPtr, JniHandleOwnership)

建立 JNI 物件的 Managed 表示法時使用的建構函式;由運行時間呼叫。

protected WriteAbortedException(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.IO.WriteAbortedException : nativeint * Android.Runtime.JniHandleOwnership -> Java.IO.WriteAbortedException

參數

javaReference
IntPtr

nativeint

IntPtrA 包含一個 Java 原生介面(JNI)物件參考。

transfer
JniHandleOwnership

JniHandleOwnershipA 指示如何處理javaReference

備註

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

適用於

WriteAbortedException(String, Exception)

建構一個 WriteAbortedException,並以字串描述該例外及導致中止的例外。

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Exception;)V", "")]
public WriteAbortedException(string? s, Java.Lang.Exception? ex);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Exception;)V", "")>]
new Java.IO.WriteAbortedException : string * Java.Lang.Exception -> Java.IO.WriteAbortedException

參數

s
String

描述例外的字串。

ex
Exception

例外導致中止。

屬性

備註

建構一個 WriteAbortedException,並以字串描述該例外及導致中止的例外。

java.io.WriteAbortedException.WriteAbortedException(java.lang.String, java.lang.Exception)Java 檔。

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

適用於