Udostępnij za pośrednictwem


DatabaseUtils.ReadExceptionFromParcel(Parcel) Method

Definition

Special function for reading an exception result from the header of a parcel, to be used after receiving the result of a transaction.

[Android.Runtime.Register("readExceptionFromParcel", "(Landroid/os/Parcel;)V", "")]
public static void ReadExceptionFromParcel (Android.OS.Parcel? reply);
[<Android.Runtime.Register("readExceptionFromParcel", "(Landroid/os/Parcel;)V", "")>]
static member ReadExceptionFromParcel : Android.OS.Parcel -> unit

Parameters

reply
Parcel

Parcel to read from

Attributes

Remarks

Special function for reading an exception result from the header of a parcel, to be used after receiving the result of a transaction. This will throw the exception for you if it had been written to the Parcel, otherwise return and let you read the normal result data from the Parcel.

Java documentation for android.database.DatabaseUtils.readExceptionFromParcel(android.os.Parcel).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

See also