CompletedTaskCanceledTResult Method |
Namespace: Rackspace.ThreadingAssembly: Rackspace.Threading (in Rackspace.Threading.dll) Version: 2.1.0-beta1
Syntax
public static Task<TResult> Canceled<TResult>()
Public Shared Function Canceled(Of TResult) As Task(Of TResult)
public:
generic<typename TResult>
static Task<TResult>^ Canceled()
static member Canceled : unit -> Task<'TResult>
Type Parameters
- TResult
- The task result type.
Return Value
Type:
TaskTResultA canceled
TaskTResult.
Version Information
.NET for Windows Store apps
Supported in: Windows 8
.NET Framework
Supported in: 4.5, 4.0, 3.5
Portable Class Library
Supported in: Portable Class Library (Legacy), Portable Class Library
Threading Library
Supported in: 2.1, 2.0, 1.1, 1.0
See Also