Language

AbstractExecutorService.AwaitTerminationAsync(Int64, TimeUnit) Method

Definition

public System.Threading.Tasks.Task<bool> AwaitTerminationAsync(long timeout, Java.Util.Concurrent.TimeUnit? unit);
member this.AwaitTerminationAsync : int64 * Java.Util.Concurrent.TimeUnit -> System.Threading.Tasks.Task<bool>

Parameters

timeout
Int64

The maximum wait duration passed to AwaitTermination(Int64, TimeUnit).

unit
TimeUnit

The unit used to measure timeout.

Returns

A task whose result is the Boolean returned by AwaitTermination(Int64, TimeUnit).

Remarks

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