語言

FileSystemException 建構函式

定義

多載

名稱 Description
FileSystemException(String)

構造此類別的實例。

FileSystemException(IntPtr, JniHandleOwnership)
FileSystemException(String, String, String)

構造此類別的實例。

FileSystemException(String)

構造此類別的實例。

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "", ApiSince=26)]
public FileSystemException(string? file);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "", ApiSince=26)>]
new Java.Nio.FileNio.FileSystemException : string -> Java.Nio.FileNio.FileSystemException

參數

file
String

一個用來識別檔案的字串,若 null 未知則為。

屬性

備註

構造此類別的實例。 當涉及單一檔案的操作失敗且沒有額外資訊解釋原因時,應使用此建構子。

Java 文件 java.nio.file.FileSystemException.FileSystemException(java.lang.String)。

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

適用於

FileSystemException(IntPtr, JniHandleOwnership)

protected FileSystemException(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Nio.FileNio.FileSystemException : nativeint * Android.Runtime.JniHandleOwnership -> Java.Nio.FileNio.FileSystemException

參數

javaReference
IntPtr

nativeint

備註

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

適用於

FileSystemException(String, String, String)

構造此類別的實例。

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V", "", ApiSince=26)]
public FileSystemException(string? file, string? other, string? reason);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V", "", ApiSince=26)>]
new Java.Nio.FileNio.FileSystemException : string * string * string -> Java.Nio.FileNio.FileSystemException

參數

file
String

一個用來識別檔案的字串,若 null 未知則為。

other
String

用字串來識別另一個檔案,或 null 是否存在其他檔案,或如果未知

reason
String

帶有額外資訊的理由訊息或 null

屬性

備註

構造此類別的實例。 當涉及兩個檔案的操作失敗,或有額外資訊解釋原因時,應使用此建構子。

Java 文件 java.nio.file.FileSystemException.FileSystemException(java.lang.String, java.lang.String, java.lang.String)。

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

適用於