FileNotFoundException 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| FileNotFoundException() |
構造一個 |
| FileNotFoundException(String) |
構造包含指定細節訊息的 a |
| FileNotFoundException(IntPtr, JniHandleOwnership) |
建立 JNI 物件的 Managed 表示法時使用的建構函式;由運行時間呼叫。 |
FileNotFoundException()
構造一個 FileNotFoundException ,作為其 null 錯誤細節訊息。
[Android.Runtime.Register(".ctor", "()V", "")]
public FileNotFoundException();
- 屬性
備註
構造一個 FileNotFoundException ,作為其 null 錯誤細節訊息。
Java 文件 java.io.FileNotFoundException.FileNotFoundException()。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。
適用於
FileNotFoundException(String)
構造包含指定細節訊息的 a FileNotFoundException 。
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
public FileNotFoundException(string? s);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Java.IO.FileNotFoundException : string -> Java.IO.FileNotFoundException
參數
- s
- String
細節訊息。
- 屬性
備註
構造包含指定細節訊息的 a FileNotFoundException 。 字java.lang.Throwable#getMessage串s之後可以透過類別java.lang.Throwable的方法 來檢索。
Java 文件 java.io.FileNotFoundException.FileNotFoundException(java.lang.String)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。
適用於
FileNotFoundException(IntPtr, JniHandleOwnership)
建立 JNI 物件的 Managed 表示法時使用的建構函式;由運行時間呼叫。
protected FileNotFoundException(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.IO.FileNotFoundException : nativeint * Android.Runtime.JniHandleOwnership -> Java.IO.FileNotFoundException
參數
- transfer
- JniHandleOwnership
JniHandleOwnershipA 指示如何處理javaReference
備註
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。