Language

AbstractExecutorService.AwaitTerminationAsync(Int64, TimeUnit) メソッド

定義

Taskを介してAwaitTermination(Int64, TimeUnit)を実行します。

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>

パラメーター

timeout
Int64

AwaitTermination(Int64, TimeUnit)に渡される最大待機時間。

unit
TimeUnit

timeoutの測定に使用する単位。

戻り値

結果が AwaitTermination(Int64, TimeUnit)によって返されるブール値を持つタスク。

注釈

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象