public class Task extends NetObject implements java.lang.AutoCloseable
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Threading.Tasks.Task
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e
|
static java.lang.String |
assemblyShortName
Assembly name: System.Private.CoreLib
|
static java.lang.String |
className
Qualified class name: System.Threading.Tasks.Task
|
static org.mases.jcobridge.JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
Task() |
Task(Action_1 action,
NetObject state) |
Task(Action_1 action,
NetObject state,
CancellationToken cancellationToken) |
Task(Action_1 action,
NetObject state,
CancellationToken cancellationToken,
TaskCreationOptions creationOptions) |
Task(Action_1 action,
NetObject state,
TaskCreationOptions creationOptions) |
Task(Action action) |
Task(Action action,
CancellationToken cancellationToken) |
Task(Action action,
CancellationToken cancellationToken,
TaskCreationOptions creationOptions) |
Task(Action action,
TaskCreationOptions creationOptions) |
Task(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static Task |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into Task, a cast assert is made to check if types are compatible. |
void |
close() |
ConfiguredTaskAwaitable |
ConfigureAwait(boolean continueOnCapturedContext) |
ConfiguredTaskAwaitable |
ConfigureAwait(ConfigureAwaitOptions options) |
Task |
ContinueWith(Action_1 continuationAction) |
Task |
ContinueWith(Action_1 continuationAction,
CancellationToken cancellationToken) |
Task |
ContinueWith(Action_1 continuationAction,
CancellationToken cancellationToken,
TaskContinuationOptions continuationOptions,
TaskScheduler scheduler) |
Task |
ContinueWith(Action_1 continuationAction,
TaskContinuationOptions continuationOptions) |
Task |
ContinueWith(Action_1 continuationAction,
TaskScheduler scheduler) |
Task |
ContinueWith(Action_2 continuationAction,
NetObject state) |
Task |
ContinueWith(Action_2 continuationAction,
NetObject state,
CancellationToken cancellationToken) |
Task |
ContinueWith(Action_2 continuationAction,
NetObject state,
CancellationToken cancellationToken,
TaskContinuationOptions continuationOptions,
TaskScheduler scheduler) |
Task |
ContinueWith(Action_2 continuationAction,
NetObject state,
TaskContinuationOptions continuationOptions) |
Task |
ContinueWith(Action_2 continuationAction,
NetObject state,
TaskScheduler scheduler) |
<TResult extends IJCOBridgeReflected> |
ContinueWith(Func_2 continuationFunction) |
<TResult extends IJCOBridgeReflected> |
ContinueWith(Func_2 continuationFunction,
CancellationToken cancellationToken) |
<TResult extends IJCOBridgeReflected> |
ContinueWith(Func_2 continuationFunction,
CancellationToken cancellationToken,
TaskContinuationOptions continuationOptions,
TaskScheduler scheduler) |
<TResult extends IJCOBridgeReflected> |
ContinueWith(Func_2 continuationFunction,
TaskContinuationOptions continuationOptions) |
<TResult extends IJCOBridgeReflected> |
ContinueWith(Func_2 continuationFunction,
TaskScheduler scheduler) |
<TResult extends IJCOBridgeReflected> |
ContinueWith(Func_3 continuationFunction,
NetObject state) |
<TResult extends IJCOBridgeReflected> |
ContinueWith(Func_3 continuationFunction,
NetObject state,
CancellationToken cancellationToken) |
<TResult extends IJCOBridgeReflected> |
ContinueWith(Func_3 continuationFunction,
NetObject state,
CancellationToken cancellationToken,
TaskContinuationOptions continuationOptions,
TaskScheduler scheduler) |
<TResult extends IJCOBridgeReflected> |
ContinueWith(Func_3 continuationFunction,
NetObject state,
TaskContinuationOptions continuationOptions) |
<TResult extends IJCOBridgeReflected> |
ContinueWith(Func_3 continuationFunction,
NetObject state,
TaskScheduler scheduler) |
static Task |
Delay(int millisecondsDelay) |
static Task |
Delay(int millisecondsDelay,
CancellationToken cancellationToken) |
static Task |
Delay(TimeSpan delay) |
static Task |
Delay(TimeSpan delay,
CancellationToken cancellationToken) |
static Task |
Delay(TimeSpan delay,
TimeProvider timeProvider) |
static Task |
Delay(TimeSpan delay,
TimeProvider timeProvider,
CancellationToken cancellationToken) |
void |
Dispose() |
static Task |
FromCanceled(CancellationToken cancellationToken) |
static Task |
FromException(NetException exception) |
static <TResult extends IJCOBridgeReflected> |
FromResult(TResult result) |
NetObject |
getAsyncState() |
TaskAwaiter |
GetAwaiter() |
static Task |
getCompletedTask() |
TaskCreationOptions |
getCreationOptions() |
static Nullable_1 |
getCurrentId() |
AggregateException |
getException() |
static TaskFactory |
getFactory() |
int |
getId() |
boolean |
getIsCanceled() |
boolean |
getIsCompleted() |
boolean |
getIsCompletedSuccessfully() |
boolean |
getIsFaulted() |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
org.mases.jcobridge.JCType |
getJCOType()
Returns the instantiated class Type
|
TaskStatus |
getStatus() |
static Task |
Run(Action action) |
static Task |
Run(Action action,
CancellationToken cancellationToken) |
static Task |
Run(Func_1 function) |
static Task |
Run(Func_1 function,
CancellationToken cancellationToken) |
void |
RunSynchronously() |
void |
RunSynchronously(TaskScheduler scheduler) |
void |
setJCOInstance(org.mases.jcobridge.JCObject instance) |
void |
Start() |
void |
Start(TaskScheduler scheduler) |
void |
Wait() |
void |
Wait(CancellationToken cancellationToken) |
boolean |
Wait(int millisecondsTimeout) |
boolean |
Wait(int millisecondsTimeout,
CancellationToken cancellationToken) |
boolean |
Wait(TimeSpan timeout) |
boolean |
Wait(TimeSpan timeout,
CancellationToken cancellationToken) |
static void |
WaitAll(IEnumerable_1 tasks,
CancellationToken cancellationToken) |
static void |
WaitAll(Task... tasks) |
static void |
WaitAll(Task[] tasks,
CancellationToken cancellationToken) |
static boolean |
WaitAll(Task[] tasks,
int millisecondsTimeout) |
static boolean |
WaitAll(Task[] tasks,
int millisecondsTimeout,
CancellationToken cancellationToken) |
static boolean |
WaitAll(Task[] tasks,
TimeSpan timeout) |
static int |
WaitAny(Task... tasks) |
static int |
WaitAny(Task[] tasks,
CancellationToken cancellationToken) |
static int |
WaitAny(Task[] tasks,
int millisecondsTimeout) |
static int |
WaitAny(Task[] tasks,
int millisecondsTimeout,
CancellationToken cancellationToken) |
static int |
WaitAny(Task[] tasks,
TimeSpan timeout) |
Task |
WaitAsync(CancellationToken cancellationToken) |
Task |
WaitAsync(TimeSpan timeout) |
Task |
WaitAsync(TimeSpan timeout,
CancellationToken cancellationToken) |
Task |
WaitAsync(TimeSpan timeout,
TimeProvider timeProvider) |
Task |
WaitAsync(TimeSpan timeout,
TimeProvider timeProvider,
CancellationToken cancellationToken) |
static Task |
WhenAll(IEnumerable_1 tasks) |
static <TResult extends IJCOBridgeReflected> |
WhenAll(Task_1... tasks) |
static Task |
WhenAll(Task... tasks) |
static Task_1 |
WhenAny(IEnumerable_1 tasks) |
static <TResult extends IJCOBridgeReflected> |
WhenAny(Task_1... tasks) |
static <TResult extends IJCOBridgeReflected> |
WhenAny(Task_1 task1,
Task_1 task2) |
static Task_1 |
WhenAny(Task... tasks) |
static Task_1 |
WhenAny(Task task1,
Task task2) |
static IAsyncEnumerable_1 |
WhenEach(IEnumerable_1 tasks) |
static <TResult extends IJCOBridgeReflected> |
WhenEach(Task_1... tasks) |
static IAsyncEnumerable_1 |
WhenEach(Task... tasks) |
static YieldAwaitable |
Yield() |
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public static org.mases.jcobridge.JCType classType
JCTypepublic Task()
throws java.lang.Throwable
java.lang.Throwablepublic Task(Action_1 action, NetObject state) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, NullReferenceException
public Task(Action_1 action, NetObject state, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, NullReferenceException
public Task(Action_1 action, NetObject state, CancellationToken cancellationToken, TaskCreationOptions creationOptions) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, NullReferenceException
public Task(Action_1 action, NetObject state, TaskCreationOptions creationOptions) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, NullReferenceException
public Task(Action action) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, NullReferenceException
public Task(Action action, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, NullReferenceException
public Task(Action action, CancellationToken cancellationToken, TaskCreationOptions creationOptions) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, NullReferenceException
public Task(Action action, TaskCreationOptions creationOptions) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, NullReferenceException
public Task(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic static Task cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into Task, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedTask instancejava.lang.Throwable - in case of error during cast operationpublic void close()
throws java.lang.Exception
close in interface java.lang.AutoCloseablejava.lang.Exceptionpublic ConfiguredTaskAwaitable ConfigureAwait(boolean continueOnCapturedContext) throws java.lang.Throwable
java.lang.Throwablepublic ConfiguredTaskAwaitable ConfigureAwait(ConfigureAwaitOptions options) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
public Task ContinueWith(Action_1 continuationAction) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, OutOfMemoryException, CultureNotFoundException, FormatException, EventSourceException, KeyNotFoundException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionCultureNotFoundExceptionFormatExceptionEventSourceExceptionKeyNotFoundExceptionpublic Task ContinueWith(Action_1 continuationAction, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, OutOfMemoryException, CultureNotFoundException, FormatException, EventSourceException, KeyNotFoundException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionCultureNotFoundExceptionFormatExceptionEventSourceExceptionKeyNotFoundExceptionpublic Task ContinueWith(Action_1 continuationAction, CancellationToken cancellationToken, TaskContinuationOptions continuationOptions, TaskScheduler scheduler) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, OutOfMemoryException, CultureNotFoundException, FormatException, EventSourceException, KeyNotFoundException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionCultureNotFoundExceptionFormatExceptionEventSourceExceptionKeyNotFoundExceptionpublic Task ContinueWith(Action_1 continuationAction, TaskContinuationOptions continuationOptions) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, OutOfMemoryException, CultureNotFoundException, FormatException, EventSourceException, KeyNotFoundException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionCultureNotFoundExceptionFormatExceptionEventSourceExceptionKeyNotFoundExceptionpublic Task ContinueWith(Action_1 continuationAction, TaskScheduler scheduler) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, OutOfMemoryException, CultureNotFoundException, FormatException, EventSourceException, KeyNotFoundException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionCultureNotFoundExceptionFormatExceptionEventSourceExceptionKeyNotFoundExceptionpublic Task ContinueWith(Action_2 continuationAction, NetObject state) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, OutOfMemoryException, CultureNotFoundException, FormatException, EventSourceException, KeyNotFoundException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionCultureNotFoundExceptionFormatExceptionEventSourceExceptionKeyNotFoundExceptionpublic Task ContinueWith(Action_2 continuationAction, NetObject state, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, OutOfMemoryException, CultureNotFoundException, FormatException, EventSourceException, KeyNotFoundException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionCultureNotFoundExceptionFormatExceptionEventSourceExceptionKeyNotFoundExceptionpublic Task ContinueWith(Action_2 continuationAction, NetObject state, CancellationToken cancellationToken, TaskContinuationOptions continuationOptions, TaskScheduler scheduler) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, OutOfMemoryException, CultureNotFoundException, FormatException, EventSourceException, KeyNotFoundException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionCultureNotFoundExceptionFormatExceptionEventSourceExceptionKeyNotFoundExceptionpublic Task ContinueWith(Action_2 continuationAction, NetObject state, TaskContinuationOptions continuationOptions) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, OutOfMemoryException, CultureNotFoundException, FormatException, EventSourceException, KeyNotFoundException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionCultureNotFoundExceptionFormatExceptionEventSourceExceptionKeyNotFoundExceptionpublic Task ContinueWith(Action_2 continuationAction, NetObject state, TaskScheduler scheduler) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, OutOfMemoryException, CultureNotFoundException, FormatException, EventSourceException, KeyNotFoundException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionCultureNotFoundExceptionFormatExceptionEventSourceExceptionKeyNotFoundExceptionpublic <TResult extends IJCOBridgeReflected> Task_1 ContinueWith(Func_2 continuationFunction) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, OutOfMemoryException, EventSourceException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionEventSourceExceptionpublic <TResult extends IJCOBridgeReflected> Task_1 ContinueWith(Func_2 continuationFunction, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, OutOfMemoryException, EventSourceException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionEventSourceExceptionpublic <TResult extends IJCOBridgeReflected> Task_1 ContinueWith(Func_2 continuationFunction, CancellationToken cancellationToken, TaskContinuationOptions continuationOptions, TaskScheduler scheduler) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, OutOfMemoryException, EventSourceException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionEventSourceExceptionpublic <TResult extends IJCOBridgeReflected> Task_1 ContinueWith(Func_2 continuationFunction, TaskContinuationOptions continuationOptions) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, OutOfMemoryException, EventSourceException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionEventSourceExceptionpublic <TResult extends IJCOBridgeReflected> Task_1 ContinueWith(Func_2 continuationFunction, TaskScheduler scheduler) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, OutOfMemoryException, EventSourceException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionEventSourceExceptionpublic <TResult extends IJCOBridgeReflected> Task_1 ContinueWith(Func_3 continuationFunction, NetObject state) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, OutOfMemoryException, EventSourceException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionEventSourceExceptionpublic <TResult extends IJCOBridgeReflected> Task_1 ContinueWith(Func_3 continuationFunction, NetObject state, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, OutOfMemoryException, EventSourceException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionEventSourceExceptionpublic <TResult extends IJCOBridgeReflected> Task_1 ContinueWith(Func_3 continuationFunction, NetObject state, CancellationToken cancellationToken, TaskContinuationOptions continuationOptions, TaskScheduler scheduler) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, OutOfMemoryException, EventSourceException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionEventSourceExceptionpublic <TResult extends IJCOBridgeReflected> Task_1 ContinueWith(Func_3 continuationFunction, NetObject state, TaskContinuationOptions continuationOptions) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, OutOfMemoryException, EventSourceException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionEventSourceExceptionpublic <TResult extends IJCOBridgeReflected> Task_1 ContinueWith(Func_3 continuationFunction, NetObject state, TaskScheduler scheduler) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, OutOfMemoryException, EventSourceException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionEventSourceExceptionpublic static Task Delay(int millisecondsDelay) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, NullReferenceException, ArgumentNullException, LockRecursionException, OutOfMemoryException
public static Task Delay(int millisecondsDelay, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, EventSourceException, IndexOutOfRangeException, NullReferenceException, LockRecursionException, AbandonedMutexException, OutOfMemoryException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionEventSourceExceptionIndexOutOfRangeExceptionNullReferenceExceptionLockRecursionExceptionAbandonedMutexExceptionOutOfMemoryExceptionpublic static Task Delay(TimeSpan delay) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, NullReferenceException, LockRecursionException, OutOfMemoryException
public static Task Delay(TimeSpan delay, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, NullReferenceException, LockRecursionException, OutOfMemoryException
public static Task Delay(TimeSpan delay, TimeProvider timeProvider) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, NullReferenceException, LockRecursionException, OutOfMemoryException
public static Task Delay(TimeSpan delay, TimeProvider timeProvider, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, EventSourceException, IndexOutOfRangeException, NullReferenceException, LockRecursionException, AbandonedMutexException, OutOfMemoryException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionEventSourceExceptionIndexOutOfRangeExceptionNullReferenceExceptionLockRecursionExceptionAbandonedMutexExceptionOutOfMemoryExceptionpublic void Dispose()
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
PlatformNotSupportedException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionpublic static Task FromCanceled(CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
public static Task FromException(NetException exception) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, NullReferenceException
public static <TResult extends IJCOBridgeReflected> Task_1 FromResult(TResult result) throws java.lang.Throwable
java.lang.Throwablepublic NetObject getAsyncState() throws java.lang.Throwable
java.lang.Throwablepublic TaskAwaiter GetAwaiter() throws java.lang.Throwable
java.lang.Throwablepublic static Task getCompletedTask() throws java.lang.Throwable
java.lang.Throwablepublic TaskCreationOptions getCreationOptions() throws java.lang.Throwable
java.lang.Throwablepublic static Nullable_1 getCurrentId() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, ArgumentNullException, EventSourceException
public AggregateException getException() throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, NullReferenceException, OutOfMemoryException, FormatException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionNullReferenceExceptionOutOfMemoryExceptionFormatExceptionpublic static TaskFactory getFactory() throws java.lang.Throwable
java.lang.Throwablepublic int getId()
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
OutOfMemoryException,
EventSourceException,
KeyNotFoundException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionOutOfMemoryExceptionEventSourceExceptionKeyNotFoundExceptionpublic boolean getIsCanceled()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsCompleted()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsCompletedSuccessfully()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsFaulted()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectString representing the name used to allocated the object
in CLR contextpublic org.mases.jcobridge.JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectJCType representing the CLR Type of the instantiated Classpublic TaskStatus getStatus() throws java.lang.Throwable
java.lang.Throwablepublic static Task Run(Action action) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, NullReferenceException, IndexOutOfRangeException, OutOfMemoryException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionNullReferenceExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionpublic static Task Run(Action action, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, NullReferenceException, IndexOutOfRangeException, OutOfMemoryException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionNullReferenceExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionpublic static Task Run(Func_1 function) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, NullReferenceException, OutOfMemoryException, EventSourceException, TaskSchedulerException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionNullReferenceExceptionOutOfMemoryExceptionEventSourceExceptionTaskSchedulerExceptionpublic static Task Run(Func_1 function, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, NullReferenceException, OutOfMemoryException, EventSourceException, TaskSchedulerException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionNullReferenceExceptionOutOfMemoryExceptionEventSourceExceptionTaskSchedulerExceptionpublic void RunSynchronously()
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NullReferenceException,
LockRecursionException,
SynchronizationLockException,
ThreadStateException,
OutOfMemoryException,
ArgumentNullException,
IndexOutOfRangeException,
ObjectDisposedException,
OperationCanceledException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNullReferenceExceptionLockRecursionExceptionSynchronizationLockExceptionThreadStateExceptionOutOfMemoryExceptionArgumentNullExceptionIndexOutOfRangeExceptionObjectDisposedExceptionOperationCanceledExceptionpublic void RunSynchronously(TaskScheduler scheduler) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, NullReferenceException, LockRecursionException, SynchronizationLockException, ThreadStateException, OutOfMemoryException, OperationCanceledException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionNullReferenceExceptionLockRecursionExceptionSynchronizationLockExceptionThreadStateExceptionOutOfMemoryExceptionOperationCanceledExceptionpublic void setJCOInstance(org.mases.jcobridge.JCObject instance)
setJCOInstance in class NetObjectpublic void Start()
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
PlatformNotSupportedException,
NullReferenceException,
IndexOutOfRangeException,
OutOfMemoryException
public void Start(TaskScheduler scheduler) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, NullReferenceException, IndexOutOfRangeException, EventSourceException, BadImageFormatException, OutOfMemoryException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionNullReferenceExceptionIndexOutOfRangeExceptionEventSourceExceptionBadImageFormatExceptionOutOfMemoryExceptionpublic void Wait()
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
TaskSchedulerException,
OutOfMemoryException,
NullReferenceException,
ThreadStateException,
OperationCanceledException,
FormatException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionTaskSchedulerExceptionOutOfMemoryExceptionNullReferenceExceptionThreadStateExceptionOperationCanceledExceptionFormatExceptionpublic void Wait(CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, TaskSchedulerException, OutOfMemoryException, NullReferenceException, ThreadStateException, OperationCanceledException, FormatException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionTaskSchedulerExceptionOutOfMemoryExceptionNullReferenceExceptionThreadStateExceptionOperationCanceledExceptionFormatExceptionpublic boolean Wait(int millisecondsTimeout)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
TaskSchedulerException,
OutOfMemoryException,
NullReferenceException,
ThreadStateException,
OperationCanceledException,
FormatException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionTaskSchedulerExceptionOutOfMemoryExceptionNullReferenceExceptionThreadStateExceptionOperationCanceledExceptionFormatExceptionpublic boolean Wait(int millisecondsTimeout,
CancellationToken cancellationToken)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException,
EventSourceException,
TaskSchedulerException,
LockRecursionException,
SynchronizationLockException,
OutOfMemoryException,
NullReferenceException,
OperationCanceledException,
FormatException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionEventSourceExceptionTaskSchedulerExceptionLockRecursionExceptionSynchronizationLockExceptionOutOfMemoryExceptionNullReferenceExceptionOperationCanceledExceptionFormatExceptionpublic boolean Wait(TimeSpan timeout) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, OperationCanceledException, TaskSchedulerException, OutOfMemoryException, NullReferenceException, ThreadStateException, IndexOutOfRangeException, FormatException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionOperationCanceledExceptionTaskSchedulerExceptionOutOfMemoryExceptionNullReferenceExceptionThreadStateExceptionIndexOutOfRangeExceptionFormatExceptionpublic boolean Wait(TimeSpan timeout, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, OperationCanceledException, TaskSchedulerException, OutOfMemoryException, NullReferenceException, ThreadStateException, FormatException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionOperationCanceledExceptionTaskSchedulerExceptionOutOfMemoryExceptionNullReferenceExceptionThreadStateExceptionFormatExceptionpublic static void WaitAll(IEnumerable_1 tasks, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, OperationCanceledException, TaskSchedulerException, NullReferenceException, FormatException, AggregateException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionOperationCanceledExceptionTaskSchedulerExceptionNullReferenceExceptionFormatExceptionAggregateExceptionpublic static void WaitAll(Task... tasks) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, OperationCanceledException, TaskSchedulerException, NullReferenceException, FormatException, AggregateException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionOperationCanceledExceptionTaskSchedulerExceptionNullReferenceExceptionFormatExceptionAggregateExceptionpublic static void WaitAll(Task[] tasks, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, OperationCanceledException, TaskSchedulerException, NullReferenceException, FormatException, AggregateException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionOperationCanceledExceptionTaskSchedulerExceptionNullReferenceExceptionFormatExceptionAggregateExceptionpublic static boolean WaitAll(Task[] tasks, int millisecondsTimeout) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, OperationCanceledException, TaskSchedulerException, NullReferenceException, FormatException, AggregateException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionOperationCanceledExceptionTaskSchedulerExceptionNullReferenceExceptionFormatExceptionAggregateExceptionpublic static boolean WaitAll(Task[] tasks, int millisecondsTimeout, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, OperationCanceledException, TaskSchedulerException, NullReferenceException, FormatException, AggregateException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionOperationCanceledExceptionTaskSchedulerExceptionNullReferenceExceptionFormatExceptionAggregateExceptionpublic static boolean WaitAll(Task[] tasks, TimeSpan timeout) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, OperationCanceledException, TaskSchedulerException, NullReferenceException, FormatException, AggregateException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionOperationCanceledExceptionTaskSchedulerExceptionNullReferenceExceptionFormatExceptionAggregateExceptionpublic static int WaitAny(Task... tasks) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, OperationCanceledException, NullReferenceException, TaskSchedulerException, OutOfMemoryException, ThreadStateException, FormatException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionOperationCanceledExceptionNullReferenceExceptionTaskSchedulerExceptionOutOfMemoryExceptionThreadStateExceptionFormatExceptionpublic static int WaitAny(Task[] tasks, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, OperationCanceledException, NullReferenceException, TaskSchedulerException, OutOfMemoryException, ThreadStateException, FormatException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionOperationCanceledExceptionNullReferenceExceptionTaskSchedulerExceptionOutOfMemoryExceptionThreadStateExceptionFormatExceptionpublic static int WaitAny(Task[] tasks, int millisecondsTimeout) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, OperationCanceledException, NullReferenceException, TaskSchedulerException, OutOfMemoryException, ThreadStateException, FormatException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionOperationCanceledExceptionNullReferenceExceptionTaskSchedulerExceptionOutOfMemoryExceptionThreadStateExceptionFormatExceptionpublic static int WaitAny(Task[] tasks, int millisecondsTimeout, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, OperationCanceledException, NullReferenceException, TaskSchedulerException, OutOfMemoryException, ThreadStateException, FormatException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionOperationCanceledExceptionNullReferenceExceptionTaskSchedulerExceptionOutOfMemoryExceptionThreadStateExceptionFormatExceptionpublic static int WaitAny(Task[] tasks, TimeSpan timeout) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, OperationCanceledException, NullReferenceException, TaskSchedulerException, OutOfMemoryException, ThreadStateException, FormatException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionOperationCanceledExceptionNullReferenceExceptionTaskSchedulerExceptionOutOfMemoryExceptionThreadStateExceptionFormatExceptionpublic Task WaitAsync(CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, NullReferenceException, LockRecursionException, AbandonedMutexException, OutOfMemoryException
public Task WaitAsync(TimeSpan timeout) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, NullReferenceException, LockRecursionException, AbandonedMutexException, OutOfMemoryException
public Task WaitAsync(TimeSpan timeout, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, NullReferenceException, LockRecursionException, AbandonedMutexException, OutOfMemoryException
public Task WaitAsync(TimeSpan timeout, TimeProvider timeProvider) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, NullReferenceException, LockRecursionException, AbandonedMutexException, OutOfMemoryException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionNullReferenceExceptionLockRecursionExceptionAbandonedMutexExceptionOutOfMemoryExceptionpublic Task WaitAsync(TimeSpan timeout, TimeProvider timeProvider, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, NullReferenceException, LockRecursionException, AbandonedMutexException, OutOfMemoryException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionNullReferenceExceptionLockRecursionExceptionAbandonedMutexExceptionOutOfMemoryExceptionpublic static Task WhenAll(IEnumerable_1 tasks) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, EventSourceException, NullReferenceException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionEventSourceExceptionNullReferenceExceptionpublic static <TResult extends IJCOBridgeReflected> Task_1 WhenAll(Task_1... tasks) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, EventSourceException, NullReferenceException, TaskSchedulerException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionEventSourceExceptionNullReferenceExceptionTaskSchedulerExceptionpublic static Task WhenAll(Task... tasks) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, EventSourceException, NullReferenceException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionEventSourceExceptionNullReferenceExceptionpublic static Task_1 WhenAny(IEnumerable_1 tasks) throws java.lang.Throwable, PlatformNotSupportedException, InvalidOperationException, IndexOutOfRangeException, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, NullReferenceException, NotSupportedException
public static <TResult extends IJCOBridgeReflected> Task_1 WhenAny(Task_1... tasks) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, NullReferenceException
public static <TResult extends IJCOBridgeReflected> Task_1 WhenAny(Task_1 task1, Task_1 task2) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, EventSourceException, IndexOutOfRangeException, NullReferenceException
public static Task_1 WhenAny(Task... tasks) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, NullReferenceException
public static Task_1 WhenAny(Task task1, Task task2) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, EventSourceException, IndexOutOfRangeException, NullReferenceException
public static IAsyncEnumerable_1 WhenEach(IEnumerable_1 tasks) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, NullReferenceException, IndexOutOfRangeException
public static <TResult extends IJCOBridgeReflected> IAsyncEnumerable_1 WhenEach(Task_1... tasks) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, NullReferenceException
public static IAsyncEnumerable_1 WhenEach(Task... tasks) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, NullReferenceException
public static YieldAwaitable Yield() throws java.lang.Throwable
java.lang.Throwable