Android.OS.ParcelFileDescriptor.CloseWithError Method
Close the ParcelFileDescriptor, informing any peer that an error occurred while processing.

Syntax

[Android.Runtime.Register("closeWithError", "(Ljava/lang/String;)V", "GetCloseWithError_Ljava_lang_String_Handler")]
public virtual void CloseWithError (string msg)

Parameters

msg
describing the error; must not be null.

Exceptions

TypeReason
Java.IO.IOException

Remarks

Close the ParcelFileDescriptor, informing any peer that an error occurred while processing. If the creator of this descriptor is not observing errors, it will close normally.

[Android Documentation]

Requirements

Namespace: Android.OS
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1