次の方法で共有


ICompletionService.Take Method

Definition

Retrieves and removes the Future representing the next completed task, waiting if none are yet present.

[Android.Runtime.Register("take", "()Ljava/util/concurrent/Future;", "GetTakeHandler:Java.Util.Concurrent.ICompletionServiceInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Java.Util.Concurrent.IFuture? Take ();
[<Android.Runtime.Register("take", "()Ljava/util/concurrent/Future;", "GetTakeHandler:Java.Util.Concurrent.ICompletionServiceInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member Take : unit -> Java.Util.Concurrent.IFuture

Returns

the Future representing the next completed task

Attributes

Exceptions

if interrupted while waiting

Remarks

Retrieves and removes the Future representing the next completed task, waiting if none are yet present.

Java documentation for java.util.concurrent.CompletionService.take().

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