ParcelFileDescriptor.CloseWithError(String) メソッド

定義

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

エラーを記述する。は null にすることはできません。

属性

例外

注釈

ParcelFileDescriptor を閉じ、処理中にエラーが発生したことをピアに通知します。 この記述子の作成者がエラーを観察していない場合は、正常に終了します。

android.os.ParcelFileDescriptor.closeWithError(java.lang.String)Java ドキュメント。

このページの一部は、によって作成および共有された作業に基づく変更であり、に記載されている条件に従って使用されます。

適用対象