Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the asynchronous task that completes when the asynchronous operation completes.
Namespace: Microsoft.VisualStudio.Threading
Assembly: Microsoft.VisualStudio.Threading (in Microsoft.VisualStudio.Threading.dll)
Syntax
'Declaration
Public ReadOnly Property Task As Task(Of T)
public Task<T> Task { get; }
public:
property Task<T>^ Task {
Task<T>^ get ();
}
member Task : Task<'T> with get
function get Task () : Task<T>
Property Value
Type: System.Threading.Tasks.Task<T>
Returns Task<TResult>.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.