Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 4
Task(TResult) Class
Collapse All/Expand All Collapse All
Members FilterMembers Filter
Frameworks FilterFrameworks Filter
This page is specific to
Microsoft Visual Studio 2010/.NET Framework 4

Other versions are also available for the following:
.NET Framework Class Library
Task<(Of <(TResult>)>) Methods

The Task<(Of <(TResult>)>) type exposes the following members.

  NameDescription
Public methodContinueWith(Action<(Of <(Task>)>))Creates a continuation that executes asynchronously when the target Task completes. (Inherited from Task.)
Public methodContinueWith(Action<(Of <(Task<(Of <(TResult>)>)>)>))Creates a continuation that executes asynchronously when the target Task<(Of <(TResult>)>) completes.
Public methodContinueWith(Action<(Of <(Task>)>), CancellationToken)Creates a continuation that executes asynchronously when the target Task completes. (Inherited from Task.)
Public methodContinueWith(Action<(Of <(Task>)>), TaskContinuationOptions)Creates a continuation that executes according to the specified TaskContinuationOptions. (Inherited from Task.)
Public methodContinueWith(Action<(Of <(Task>)>), TaskScheduler)Creates a continuation that executes asynchronously when the target Task completes. (Inherited from Task.)
Public methodContinueWith(Action<(Of <(Task<(Of <(TResult>)>)>)>), CancellationToken)Creates a continuation that executes asynchronously when the target Task<(Of <(TResult>)>) completes.
Public methodContinueWith(Action<(Of <(Task<(Of <(TResult>)>)>)>), TaskContinuationOptions)Creates a continuation that executes according the condition specified in continuationOptions.
Public methodContinueWith(Action<(Of <(Task<(Of <(TResult>)>)>)>), TaskScheduler)Creates a continuation that executes asynchronously when the target Task<(Of <(TResult>)>) completes.
Public methodContinueWith(Action<(Of <(Task>)>), CancellationToken, TaskContinuationOptions, TaskScheduler)Creates a continuation that executes according to the specified TaskContinuationOptions. (Inherited from Task.)
Public methodContinueWith(Action<(Of <(Task<(Of <(TResult>)>)>)>), CancellationToken, TaskContinuationOptions, TaskScheduler)Creates a continuation that executes according the condition specified in continuationOptions.
Public methodContinueWith<(Of <(TResult>)>)(Func<(Of <(Task, TResult>)>))Creates a continuation that executes asynchronously when the target Task completes. (Inherited from Task.)
Public methodContinueWith<(Of <(TNewResult>)>)(Func<(Of <(Task<(Of <(TResult>)>), TNewResult>)>))Creates a continuation that executes asynchronously when the target Task<(Of <(TResult>)>) completes.
Public methodContinueWith<(Of <(TResult>)>)(Func<(Of <(Task, TResult>)>), CancellationToken)Creates a continuation that executes asynchronously when the target Task completes. (Inherited from Task.)
Public methodContinueWith<(Of <(TResult>)>)(Func<(Of <(Task, TResult>)>), TaskContinuationOptions)Creates a continuation that executes according to the condition specified in continuationOptions. (Inherited from Task.)
Public methodContinueWith<(Of <(TResult>)>)(Func<(Of <(Task, TResult>)>), TaskScheduler)Creates a continuation that executes asynchronously when the target Task completes. (Inherited from Task.)
Public methodContinueWith<(Of <(TNewResult>)>)(Func<(Of <(Task<(Of <(TResult>)>), TNewResult>)>), CancellationToken)Creates a continuation that executes asynchronously when the target Task<(Of <(TResult>)>) completes.
Public methodContinueWith<(Of <(TNewResult>)>)(Func<(Of <(Task<(Of <(TResult>)>), TNewResult>)>), TaskContinuationOptions)Creates a continuation that executes according the condition specified in continuationOptions.
Public methodContinueWith<(Of <(TNewResult>)>)(Func<(Of <(Task<(Of <(TResult>)>), TNewResult>)>), TaskScheduler)Creates a continuation that executes asynchronously when the target Task<(Of <(TResult>)>) completes.
Public methodContinueWith<(Of <(TResult>)>)(Func<(Of <(Task, TResult>)>), CancellationToken, TaskContinuationOptions, TaskScheduler)Creates a continuation that executes according to the condition specified in continuationOptions. (Inherited from Task.)
Public methodContinueWith<(Of <(TNewResult>)>)(Func<(Of <(Task<(Of <(TResult>)>), TNewResult>)>), CancellationToken, TaskContinuationOptions, TaskScheduler)Creates a continuation that executes according the condition specified in continuationOptions.
Public methodDispose()()()Releases all resources used by the current instance of the Task class. (Inherited from Task.)
Protected methodDispose(Boolean)Disposes the Task, releasing all of its unmanaged resources. (Inherited from Task.)
Public methodEquals(Object)Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodRunSynchronously()()()Runs the Task synchronously on the current TaskScheduler. (Inherited from Task.)
Public methodRunSynchronously(TaskScheduler)Runs the Task synchronously on the TaskScheduler provided. (Inherited from Task.)
Public methodStart()()()Starts the Task, scheduling it for execution to the current TaskScheduler. (Inherited from Task.)
Public methodStart(TaskScheduler)Starts the Task, scheduling it for execution to the specified TaskScheduler. (Inherited from Task.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Public methodWait()()()Waits for the Task to complete execution. (Inherited from Task.)
Public methodWait(CancellationToken)Waits for the Task to complete execution. (Inherited from Task.)
Public methodWait(Int32)Waits for the Task to complete execution. (Inherited from Task.)
Public methodWait(TimeSpan)Waits for the Task to complete execution. (Inherited from Task.)
Public methodWait(Int32, CancellationToken)Waits for the Task to complete execution. (Inherited from Task.)
Top
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2012 Microsoft. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker