ForkJoinTask.State Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the current completion state of this fork/join task.
[Android.Runtime.Register("state", "()Ljava/util/concurrent/Future$State;", "GetStateHandler", ApiSince=36)]
public virtual Java.Util.Concurrent.IFuture.State? State();
[<Android.Runtime.Register("state", "()Ljava/util/concurrent/Future$State;", "GetStateHandler", ApiSince=36)>]
abstract member State : unit -> Java.Util.Concurrent.IFuture.State
override this.State : unit -> Java.Util.Concurrent.IFuture.State
Returns
The running, successful, failed, or cancelled state observed by this call.
- Attributes
Remarks
The state is determined from the task's completion and abnormal-completion status flags.