Task<TResult>.Result Property

Gets the result value of this Task<TResult>.

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

[DebuggerBrowsableAttribute(DebuggerBrowsableState.Never)]
public TResult Result { get; }

Property Value

Type: TResult
The result value of this Task<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.

Silverlight

Supported in: 5

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show: