ThreadPoolExecutor.ShutdownNow Method

Definition

Attempts to stop all actively executing tasks, halts the processing of waiting tasks, and returns a list of the tasks that were awaiting execution.

[Android.Runtime.Register("shutdownNow", "()Ljava/util/List;", "GetShutdownNowHandler")]
public override System.Collections.Generic.IList<Java.Lang.IRunnable>? ShutdownNow ();
[<Android.Runtime.Register("shutdownNow", "()Ljava/util/List;", "GetShutdownNowHandler")>]
override this.ShutdownNow : unit -> System.Collections.Generic.IList<Java.Lang.IRunnable>

Returns

IList<IRunnable>
Attributes

Remarks

Java documentation for java.util.concurrent.ThreadPoolExecutor.shutdownNow().

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