Result Property
Collapse the table of content
Expand the table of content

Task(Of TResult).Result Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets the result value of this Task(Of TResult).

Namespace:  System.Threading.Tasks
Assembly:  mscorlib (in mscorlib.dll)

'Declaration
Public ReadOnly Property Result As TResult

Property Value

Type: TResult
The result value of this Task(Of TResult), which is the same type as the task's type parameter.

The get accessor for this property ensures that the asynchronous operation is complete before returning. Once the result of the computation is available, it is stored and will be returned immediately on later calls to Result.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft