Share via


IVsTaskSchedulerService2.GetTaskScheduler(UInt32) Method

Definition

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.

public:
 System::Object ^ GetTaskScheduler(System::UInt32 context);
public:
 Platform::Object ^ GetTaskScheduler(unsigned int context);
winrt::Windows::Foundation::IInspectable GetTaskScheduler(unsigned int context);
public object GetTaskScheduler (uint context);
abstract member GetTaskScheduler : uint32 -> obj
Public Function GetTaskScheduler (context As UInteger) As Object

Parameters

context
UInt32

The context.

Returns

The HRESULT.

Remarks

This method is safe to access from any thread.

Applies to