共用方式為


IExecutorServiceExtensions.InvokeAnyAsync 方法

定義

多載

InvokeAnyAsync(IExecutorService, ICollection)
InvokeAnyAsync(IExecutorService, ICollection, Int64, TimeUnit)

InvokeAnyAsync(IExecutorService, ICollection)

public static System.Threading.Tasks.Task<Java.Lang.Object?> InvokeAnyAsync (this Java.Util.Concurrent.IExecutorService self, System.Collections.ICollection? tasks);
static member InvokeAnyAsync : Java.Util.Concurrent.IExecutorService * System.Collections.ICollection -> System.Threading.Tasks.Task<Java.Lang.Object>

參數

tasks
ICollection

傳回

備註

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於

InvokeAnyAsync(IExecutorService, ICollection, Int64, TimeUnit)

public static System.Threading.Tasks.Task<Java.Lang.Object?> InvokeAnyAsync (this Java.Util.Concurrent.IExecutorService self, System.Collections.ICollection? tasks, long timeout, Java.Util.Concurrent.TimeUnit? unit);
static member InvokeAnyAsync : Java.Util.Concurrent.IExecutorService * System.Collections.ICollection * int64 * Java.Util.Concurrent.TimeUnit -> System.Threading.Tasks.Task<Java.Lang.Object>

參數

tasks
ICollection
timeout
Int64
unit
TimeUnit

傳回

備註

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於