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
- 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.