IVsTaskSchedulerService2.GetTaskScheduler(UInt32) 方法

定义

获取用于指定的上下文的任务计划程序实例。 这 returnc 一 TaskScheduler 种类型。 此方法中的功能旨在由 MPF 中的帮助器类公开,用户不能直接使用。

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

参数

context
UInt32

上下文。

返回

Object

此 HRESULT。

适用于