ParcelFileDescriptor.CloseWithError(String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
關閉 ParcelFileDescriptor,通知任何對等端處理過程中發生錯誤。
[Android.Runtime.Register("closeWithError", "(Ljava/lang/String;)V", "GetCloseWithError_Ljava_lang_String_Handler")]
public virtual void CloseWithError(string? msg);
[<Android.Runtime.Register("closeWithError", "(Ljava/lang/String;)V", "GetCloseWithError_Ljava_lang_String_Handler")>]
abstract member CloseWithError : string -> unit
override this.CloseWithError : string -> unit
參數
- msg
- String
描述錯誤;不能是零。
- 屬性
例外狀況
備註
關閉 ParcelFileDescriptor,通知任何對等端處理過程中發生錯誤。 如果描述子的創造者沒有觀察到錯誤,它就會正常關閉。
Java 文件 android.os.ParcelFileDescriptor.closeWithError(java.lang.String)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。