ThreadPoolExecutor.Execute(IRunnable) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Executes the given task sometime in the future.
[Android.Runtime.Register("execute", "(Ljava/lang/Runnable;)V", "GetExecute_Ljava_lang_Runnable_Handler")]
public override void Execute (Java.Lang.IRunnable? command);
[<Android.Runtime.Register("execute", "(Ljava/lang/Runnable;)V", "GetExecute_Ljava_lang_Runnable_Handler")>]
override this.Execute : Java.Lang.IRunnable -> unit
Parameters
- command
- IRunnable
the task to execute
- Attributes
Exceptions
at discretion of
RejectedExecutionHandler, if the task
cannot be accepted for execution
if command is null
Remarks
Java documentation for java.util.concurrent.ThreadPoolExecutor.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.