Java.Util.Concurrent.IExecutorService.Shutdown Method
Initiates an orderly shutdown in which previously submitted tasks are executed, but no new tasks will be accepted.

Syntax

[Android.Runtime.Register("shutdown", "()V", "GetShutdownHandler:Java.Util.Concurrent.IExecutorServiceInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void Shutdown ()

Remarks

Initiates an orderly shutdown in which previously submitted tasks are executed, but no new tasks will be accepted. Invocation has no additional effect if already shut down.

This method does not wait for previously submitted tasks to complete execution. Use IExecutorService.AwaitTermination(long, Java.Util.Concurrent.TimeUnit) to do that.

[Android Documentation]

Requirements

Namespace: Java.Util.Concurrent
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1