AbstractExecutorService.Execute(IRunnable) Method

Definition

Executes the given command at some time in the future.

[Android.Runtime.Register("execute", "(Ljava/lang/Runnable;)V", "GetExecute_Ljava_lang_Runnable_Handler")]
public abstract void Execute (Java.Lang.IRunnable? command);
[<Android.Runtime.Register("execute", "(Ljava/lang/Runnable;)V", "GetExecute_Ljava_lang_Runnable_Handler")>]
abstract member Execute : Java.Lang.IRunnable -> unit

Parameters

command
IRunnable

the runnable task

Implements

Attributes

Remarks

Executes the given command at some time in the future. The command may execute in a new thread, in a pooled thread, or in the calling thread, at the discretion of the Executor implementation.

Java documentation for java.util.concurrent.Executor.execute(java.lang.Runnable).

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