public class Task_1<TResult extends IJCOBridgeReflected> extends Task
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Threading.Tasks.Task-1
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=11.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`1
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
Task_1() |
Task_1(Func_1 function)
Initializes a new instance by invoking the .NET constructor.
|
Task_1(Func_1 function,
CancellationToken cancellationToken)
Initializes a new instance by invoking the .NET constructor.
|
Task_1(Func_1 function,
CancellationToken cancellationToken,
TaskCreationOptions creationOptions)
Initializes a new instance by invoking the .NET constructor.
|
Task_1(Func_1 function,
TaskCreationOptions creationOptions)
Initializes a new instance by invoking the .NET constructor.
|
Task_1(Func_2 function,
NetObject state)
Initializes a new instance by invoking the .NET constructor.
|
Task_1(Func_2 function,
NetObject state,
CancellationToken cancellationToken)
Initializes a new instance by invoking the .NET constructor.
|
Task_1(Func_2 function,
NetObject state,
CancellationToken cancellationToken,
TaskCreationOptions creationOptions)
Initializes a new instance by invoking the .NET constructor.
|
Task_1(Func_2 function,
NetObject state,
TaskCreationOptions creationOptions)
Initializes a new instance by invoking the .NET constructor.
|
Task_1(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static Task_1 |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into Task_1, a cast assert is made to check if types are compatible. |
ConfiguredTaskAwaitable_1 |
ConfigureAwaitNewTask_1(boolean continueOnCapturedContext)
Invokes the .NET member ConfigureAwaitNewTask_1.
|
ConfiguredTaskAwaitable_1 |
ConfigureAwaitNewTask_1(ConfigureAwaitOptions options)
Invokes the .NET member ConfigureAwaitNewTask_1.
|
Task |
ContinueWith(Action_1 continuationAction)
Invokes the .NET member ContinueWith.
|
Task |
ContinueWith(Action_1 continuationAction,
CancellationToken cancellationToken)
Invokes the .NET member ContinueWith.
|
Task |
ContinueWith(Action_1 continuationAction,
CancellationToken cancellationToken,
TaskContinuationOptions continuationOptions,
TaskScheduler scheduler)
Invokes the .NET member ContinueWith.
|
Task |
ContinueWith(Action_1 continuationAction,
TaskContinuationOptions continuationOptions)
Invokes the .NET member ContinueWith.
|
Task |
ContinueWith(Action_1 continuationAction,
TaskScheduler scheduler)
Invokes the .NET member ContinueWith.
|
Task |
ContinueWith(Action_2 continuationAction,
NetObject state)
Invokes the .NET member ContinueWith.
|
Task |
ContinueWith(Action_2 continuationAction,
NetObject state,
CancellationToken cancellationToken)
Invokes the .NET member ContinueWith.
|
Task |
ContinueWith(Action_2 continuationAction,
NetObject state,
CancellationToken cancellationToken,
TaskContinuationOptions continuationOptions,
TaskScheduler scheduler)
Invokes the .NET member ContinueWith.
|
Task |
ContinueWith(Action_2 continuationAction,
NetObject state,
TaskContinuationOptions continuationOptions)
Invokes the .NET member ContinueWith.
|
Task |
ContinueWith(Action_2 continuationAction,
NetObject state,
TaskScheduler scheduler)
Invokes the .NET member ContinueWith.
|
<TNewResult extends IJCOBridgeReflected> |
ContinueWith(Func_2 continuationFunction)
Invokes the .NET member ContinueWith.
|
<TNewResult extends IJCOBridgeReflected> |
ContinueWith(Func_2 continuationFunction,
CancellationToken cancellationToken)
Invokes the .NET member ContinueWith.
|
<TNewResult extends IJCOBridgeReflected> |
ContinueWith(Func_2 continuationFunction,
CancellationToken cancellationToken,
TaskContinuationOptions continuationOptions,
TaskScheduler scheduler)
Invokes the .NET member ContinueWith.
|
<TNewResult extends IJCOBridgeReflected> |
ContinueWith(Func_2 continuationFunction,
TaskContinuationOptions continuationOptions)
Invokes the .NET member ContinueWith.
|
<TNewResult extends IJCOBridgeReflected> |
ContinueWith(Func_2 continuationFunction,
TaskScheduler scheduler)
Invokes the .NET member ContinueWith.
|
<TNewResult extends IJCOBridgeReflected> |
ContinueWith(Func_3 continuationFunction,
NetObject state)
Invokes the .NET member ContinueWith.
|
<TNewResult extends IJCOBridgeReflected> |
ContinueWith(Func_3 continuationFunction,
NetObject state,
CancellationToken cancellationToken)
Invokes the .NET member ContinueWith.
|
<TNewResult extends IJCOBridgeReflected> |
ContinueWith(Func_3 continuationFunction,
NetObject state,
CancellationToken cancellationToken,
TaskContinuationOptions continuationOptions,
TaskScheduler scheduler)
Invokes the .NET member ContinueWith.
|
<TNewResult extends IJCOBridgeReflected> |
ContinueWith(Func_3 continuationFunction,
NetObject state,
TaskContinuationOptions continuationOptions)
Invokes the .NET member ContinueWith.
|
<TNewResult extends IJCOBridgeReflected> |
ContinueWith(Func_3 continuationFunction,
NetObject state,
TaskScheduler scheduler)
Invokes the .NET member ContinueWith.
|
TaskAwaiter_1 |
GetAwaiterNewTask_1()
Invokes the .NET member GetAwaiterNewTask_1.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
TResult |
getResult()
Gets the value of the .NET property Result.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
Task_1 |
WaitAsyncNewTask_1(CancellationToken cancellationToken)
Invokes the .NET member WaitAsyncNewTask_1.
|
Task_1 |
WaitAsyncNewTask_1(TimeSpan timeout)
Invokes the .NET member WaitAsyncNewTask_1.
|
Task_1 |
WaitAsyncNewTask_1(TimeSpan timeout,
CancellationToken cancellationToken)
Invokes the .NET member WaitAsyncNewTask_1.
|
Task_1 |
WaitAsyncNewTask_1(TimeSpan timeout,
TimeProvider timeProvider)
Invokes the .NET member WaitAsyncNewTask_1.
|
Task_1 |
WaitAsyncNewTask_1(TimeSpan timeout,
TimeProvider timeProvider,
CancellationToken cancellationToken)
Invokes the .NET member WaitAsyncNewTask_1.
|
close, ConfigureAwait, ConfigureAwait, Delay, Delay, Delay, Delay, Delay, Delay, Dispose, FromCanceled, FromException, FromResult, getAsyncState, GetAwaiter, getCompletedTask, getCreationOptions, getCurrentId, getException, getFactory, getId, getIsCanceled, getIsCompleted, getIsCompletedSuccessfully, getIsFaulted, getStatus, Run, Run, Run, Run, RunSynchronously, RunSynchronously, Start, Start, Wait, Wait, Wait, Wait, Wait, Wait, WaitAll, WaitAll, WaitAll, WaitAll, WaitAll, WaitAll, WaitAny, WaitAny, WaitAny, WaitAny, WaitAny, WaitAsync, WaitAsync, WaitAsync, WaitAsync, WaitAsync, WhenAll, WhenAll, WhenAll, WhenAny, WhenAny, WhenAny, WhenAny, WhenAny, WhenEach, WhenEach, WhenEach, Yieldpublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public Task_1()
throws java.lang.Throwable
java.lang.Throwablepublic Task_1(Func_1 function) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, NullReferenceException
function - the argument of type Func_1java.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itpublic Task_1(Func_1 function, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, NullReferenceException
function - the argument of type Func_1cancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itpublic Task_1(Func_1 function, CancellationToken cancellationToken, TaskCreationOptions creationOptions) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, NullReferenceException
function - the argument of type Func_1cancellationToken - the argument of type CancellationTokencreationOptions - the argument of type TaskCreationOptionsjava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itpublic Task_1(Func_1 function, TaskCreationOptions creationOptions) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, NullReferenceException
function - the argument of type Func_1creationOptions - the argument of type TaskCreationOptionsjava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itpublic Task_1(Func_2 function, NetObject state) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, NullReferenceException
function - the argument of type Func_2state - the argument of type NetObjectjava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itpublic Task_1(Func_2 function, NetObject state, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, NullReferenceException
function - the argument of type Func_2state - the argument of type NetObjectcancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itpublic Task_1(Func_2 function, NetObject state, CancellationToken cancellationToken, TaskCreationOptions creationOptions) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, NullReferenceException
function - the argument of type Func_2state - the argument of type NetObjectcancellationToken - the argument of type CancellationTokencreationOptions - the argument of type TaskCreationOptionsjava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itpublic Task_1(Func_2 function, NetObject state, TaskCreationOptions creationOptions) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, NullReferenceException
function - the argument of type Func_2state - the argument of type NetObjectcreationOptions - the argument of type TaskCreationOptionsjava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itpublic Task_1(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic static Task_1 cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into Task_1, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedTask_1 instancejava.lang.Throwable - in case of error during cast operationpublic ConfiguredTaskAwaitable_1 ConfigureAwaitNewTask_1(boolean continueOnCapturedContext) throws java.lang.Throwable
continueOnCapturedContext - the argument of type booleanjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic ConfiguredTaskAwaitable_1 ConfigureAwaitNewTask_1(ConfigureAwaitOptions options) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, ArrayTypeMismatchException, CultureNotFoundException, ObjectDisposedException
options - the argument of type ConfigureAwaitOptionsjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic Task ContinueWith(Action_1 continuationAction) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentNullException, OutOfMemoryException, CultureNotFoundException, FormatException, EventSourceException, KeyNotFoundException
ContinueWith in class TaskcontinuationAction - the argument of type Action_1java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itFormatException - if the .NET member raises itEventSourceException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itpublic Task ContinueWith(Action_1 continuationAction, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentNullException, OutOfMemoryException, CultureNotFoundException, FormatException, EventSourceException, KeyNotFoundException
ContinueWith in class TaskcontinuationAction - the argument of type Action_1cancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itFormatException - if the .NET member raises itEventSourceException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itpublic Task ContinueWith(Action_1 continuationAction, CancellationToken cancellationToken, TaskContinuationOptions continuationOptions, TaskScheduler scheduler) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentNullException, OutOfMemoryException, CultureNotFoundException, FormatException, EventSourceException, KeyNotFoundException
ContinueWith in class TaskcontinuationAction - the argument of type Action_1cancellationToken - the argument of type CancellationTokencontinuationOptions - the argument of type TaskContinuationOptionsscheduler - the argument of type TaskSchedulerjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itFormatException - if the .NET member raises itEventSourceException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itpublic Task ContinueWith(Action_1 continuationAction, TaskContinuationOptions continuationOptions) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentNullException, OutOfMemoryException, CultureNotFoundException, FormatException, EventSourceException, KeyNotFoundException
ContinueWith in class TaskcontinuationAction - the argument of type Action_1continuationOptions - the argument of type TaskContinuationOptionsjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itFormatException - if the .NET member raises itEventSourceException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itpublic Task ContinueWith(Action_1 continuationAction, TaskScheduler scheduler) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentNullException, OutOfMemoryException, CultureNotFoundException, FormatException, EventSourceException, KeyNotFoundException
ContinueWith in class TaskcontinuationAction - the argument of type Action_1scheduler - the argument of type TaskSchedulerjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itFormatException - if the .NET member raises itEventSourceException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itpublic Task ContinueWith(Action_2 continuationAction, NetObject state) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentNullException, OutOfMemoryException, CultureNotFoundException, FormatException, EventSourceException, KeyNotFoundException
ContinueWith in class TaskcontinuationAction - the argument of type Action_2state - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itFormatException - if the .NET member raises itEventSourceException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itpublic Task ContinueWith(Action_2 continuationAction, NetObject state, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentNullException, OutOfMemoryException, CultureNotFoundException, FormatException, EventSourceException, KeyNotFoundException
ContinueWith in class TaskcontinuationAction - the argument of type Action_2state - the argument of type NetObjectcancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itFormatException - if the .NET member raises itEventSourceException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itpublic Task ContinueWith(Action_2 continuationAction, NetObject state, CancellationToken cancellationToken, TaskContinuationOptions continuationOptions, TaskScheduler scheduler) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentNullException, OutOfMemoryException, CultureNotFoundException, FormatException, EventSourceException, KeyNotFoundException
ContinueWith in class TaskcontinuationAction - the argument of type Action_2state - the argument of type NetObjectcancellationToken - the argument of type CancellationTokencontinuationOptions - the argument of type TaskContinuationOptionsscheduler - the argument of type TaskSchedulerjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itFormatException - if the .NET member raises itEventSourceException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itpublic Task ContinueWith(Action_2 continuationAction, NetObject state, TaskContinuationOptions continuationOptions) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentNullException, OutOfMemoryException, CultureNotFoundException, FormatException, EventSourceException, KeyNotFoundException
ContinueWith in class TaskcontinuationAction - the argument of type Action_2state - the argument of type NetObjectcontinuationOptions - the argument of type TaskContinuationOptionsjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itFormatException - if the .NET member raises itEventSourceException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itpublic Task ContinueWith(Action_2 continuationAction, NetObject state, TaskScheduler scheduler) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentNullException, OutOfMemoryException, CultureNotFoundException, FormatException, EventSourceException, KeyNotFoundException
ContinueWith in class TaskcontinuationAction - the argument of type Action_2state - the argument of type NetObjectscheduler - the argument of type TaskSchedulerjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itFormatException - if the .NET member raises itEventSourceException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itpublic <TNewResult extends IJCOBridgeReflected> Task_1 ContinueWith(Func_2 continuationFunction) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentNullException, OutOfMemoryException, EventSourceException
ContinueWith in class TaskTNewResult - the type of the generic argument TNewResultcontinuationFunction - the argument of type Func_2java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itEventSourceException - if the .NET member raises itpublic <TNewResult extends IJCOBridgeReflected> Task_1 ContinueWith(Func_2 continuationFunction, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentNullException, OutOfMemoryException, EventSourceException
ContinueWith in class TaskTNewResult - the type of the generic argument TNewResultcontinuationFunction - the argument of type Func_2cancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itEventSourceException - if the .NET member raises itpublic <TNewResult extends IJCOBridgeReflected> Task_1 ContinueWith(Func_2 continuationFunction, CancellationToken cancellationToken, TaskContinuationOptions continuationOptions, TaskScheduler scheduler) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentNullException, OutOfMemoryException, EventSourceException
ContinueWith in class TaskTNewResult - the type of the generic argument TNewResultcontinuationFunction - the argument of type Func_2cancellationToken - the argument of type CancellationTokencontinuationOptions - the argument of type TaskContinuationOptionsscheduler - the argument of type TaskSchedulerjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itEventSourceException - if the .NET member raises itpublic <TNewResult extends IJCOBridgeReflected> Task_1 ContinueWith(Func_2 continuationFunction, TaskContinuationOptions continuationOptions) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentNullException, OutOfMemoryException, EventSourceException
ContinueWith in class TaskTNewResult - the type of the generic argument TNewResultcontinuationFunction - the argument of type Func_2continuationOptions - the argument of type TaskContinuationOptionsjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itEventSourceException - if the .NET member raises itpublic <TNewResult extends IJCOBridgeReflected> Task_1 ContinueWith(Func_2 continuationFunction, TaskScheduler scheduler) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentNullException, OutOfMemoryException, EventSourceException
ContinueWith in class TaskTNewResult - the type of the generic argument TNewResultcontinuationFunction - the argument of type Func_2scheduler - the argument of type TaskSchedulerjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itEventSourceException - if the .NET member raises itpublic <TNewResult extends IJCOBridgeReflected> Task_1 ContinueWith(Func_3 continuationFunction, NetObject state) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentNullException, OutOfMemoryException, EventSourceException
ContinueWith in class TaskTNewResult - the type of the generic argument TNewResultcontinuationFunction - the argument of type Func_3state - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itEventSourceException - if the .NET member raises itpublic <TNewResult extends IJCOBridgeReflected> Task_1 ContinueWith(Func_3 continuationFunction, NetObject state, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentNullException, OutOfMemoryException, EventSourceException
ContinueWith in class TaskTNewResult - the type of the generic argument TNewResultcontinuationFunction - the argument of type Func_3state - the argument of type NetObjectcancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itEventSourceException - if the .NET member raises itpublic <TNewResult extends IJCOBridgeReflected> Task_1 ContinueWith(Func_3 continuationFunction, NetObject state, CancellationToken cancellationToken, TaskContinuationOptions continuationOptions, TaskScheduler scheduler) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentNullException, OutOfMemoryException, EventSourceException
ContinueWith in class TaskTNewResult - the type of the generic argument TNewResultcontinuationFunction - the argument of type Func_3state - the argument of type NetObjectcancellationToken - the argument of type CancellationTokencontinuationOptions - the argument of type TaskContinuationOptionsscheduler - the argument of type TaskSchedulerjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itEventSourceException - if the .NET member raises itpublic <TNewResult extends IJCOBridgeReflected> Task_1 ContinueWith(Func_3 continuationFunction, NetObject state, TaskContinuationOptions continuationOptions) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentNullException, OutOfMemoryException, EventSourceException
ContinueWith in class TaskTNewResult - the type of the generic argument TNewResultcontinuationFunction - the argument of type Func_3state - the argument of type NetObjectcontinuationOptions - the argument of type TaskContinuationOptionsjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itEventSourceException - if the .NET member raises itpublic <TNewResult extends IJCOBridgeReflected> Task_1 ContinueWith(Func_3 continuationFunction, NetObject state, TaskScheduler scheduler) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentNullException, OutOfMemoryException, EventSourceException
ContinueWith in class TaskTNewResult - the type of the generic argument TNewResultcontinuationFunction - the argument of type Func_3state - the argument of type NetObjectscheduler - the argument of type TaskSchedulerjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itEventSourceException - if the .NET member raises itpublic TaskAwaiter_1 GetAwaiterNewTask_1() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class Taskpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class Taskpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class Tasknull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class Taskpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class Taskpublic TResult getResult() throws java.lang.Throwable, PlatformNotSupportedException, InvalidOperationException, TaskSchedulerException, ArgumentOutOfRangeException, OutOfMemoryException, NullReferenceException, ArgumentNullException, ThreadStateException, ObjectDisposedException, OperationCanceledException, NotSupportedException, LockRecursionException, SynchronizationLockException, ArgumentException, FormatException
java.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itTaskSchedulerException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itNullReferenceException - if the .NET member raises itArgumentNullException - if the .NET member raises itThreadStateException - if the .NET member raises itObjectDisposedException - if the .NET member raises itOperationCanceledException - if the .NET member raises itNotSupportedException - if the .NET member raises itLockRecursionException - if the .NET member raises itSynchronizationLockException - if the .NET member raises itArgumentException - if the .NET member raises itFormatException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class Taskinstance - the new underlying objectpublic Task_1 WaitAsyncNewTask_1(CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, NullReferenceException, OutOfMemoryException
cancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic Task_1 WaitAsyncNewTask_1(TimeSpan timeout) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, NullReferenceException, OutOfMemoryException
timeout - the argument of type TimeSpanjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic Task_1 WaitAsyncNewTask_1(TimeSpan timeout, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, NullReferenceException, OutOfMemoryException
timeout - the argument of type TimeSpancancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic Task_1 WaitAsyncNewTask_1(TimeSpan timeout, TimeProvider timeProvider) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentNullException, NullReferenceException, OutOfMemoryException
timeout - the argument of type TimeSpantimeProvider - the argument of type TimeProviderjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itNullReferenceException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic Task_1 WaitAsyncNewTask_1(TimeSpan timeout, TimeProvider timeProvider, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentNullException, NullReferenceException, OutOfMemoryException
timeout - the argument of type TimeSpantimeProvider - the argument of type TimeProvidercancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itNullReferenceException - if the .NET member raises itOutOfMemoryException - if the .NET member raises it