共用方式為


IExecutorServiceExtensions.AwaitTerminationAsync Method

Definition

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

Parameters

timeout
Int64
unit
TimeUnit

Returns

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