IVsTaskSchedulerService2.GetTaskScheduler Method

Gets the task scheduler instance used for the context specified. This returnc a TaskScheduler type. 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 GetTaskScheduler ( _
    context As UInteger _
) As Object
Object GetTaskScheduler(
    uint context
)
Object^ GetTaskScheduler(
    [InAttribute] unsigned int context
)
abstract GetTaskScheduler : 
        context:uint32 -> Object
function GetTaskScheduler(
    context : uint
) : Object

Parameters

  • context
    Type: UInt32

    The context.

Return Value

Type: Object
The HRESULT.

.NET Framework Security

See Also

Reference

IVsTaskSchedulerService2 Interface

Microsoft.VisualStudio.Shell.Interop Namespace