共用方式為


CancellationSignal.ThrowIfCanceled Method

Definition

Throws OperationCanceledException if the operation has been canceled.

[Android.Runtime.Register("throwIfCanceled", "()V", "")]
public void ThrowIfCanceled ();
[<Android.Runtime.Register("throwIfCanceled", "()V", "")>]
member this.ThrowIfCanceled : unit -> unit
Attributes

Exceptions

if the operation has been canceled.

Remarks

Throws OperationCanceledException if the operation has been canceled.

Java documentation for android.os.CancellationSignal.throwIfCanceled().

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