Compartilhar via


IVsTaskSchedulerService2.GetAsyncTaskContext Method

Gets the shell's instance of joinable task context. The functionality in this method is intended to be exposed by helper classes in MPF and not to be directly consumed by users.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assemblies:   Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
  Microsoft.VisualStudio.Shell.Interop.12.0 (in Microsoft.VisualStudio.Shell.Interop.12.0.dll)

Syntax

'Declaration
Function GetAsyncTaskContext As Object
Object GetAsyncTaskContext()
Object^ GetAsyncTaskContext()
abstract GetAsyncTaskContext : unit -> Object
function GetAsyncTaskContext() : Object

Return Value

Type: Object
The HRESULT.

.NET Framework Security

See Also

Reference

IVsTaskSchedulerService2 Interface

Microsoft.VisualStudio.Shell.Interop Namespace