共用方式為


IVsTaskSchedulerService2 Interface

Definition

Provides task scheduling methods.

public interface class IVsTaskSchedulerService2
public interface class IVsTaskSchedulerService2
__interface IVsTaskSchedulerService2
public interface IVsTaskSchedulerService2
[System.Runtime.InteropServices.Guid("8176DC77-36E2-4987-955B-9F63C6F3F229")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsTaskSchedulerService2
type IVsTaskSchedulerService2 = interface
[<System.Runtime.InteropServices.Guid("8176DC77-36E2-4987-955B-9F63C6F3F229")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsTaskSchedulerService2 = interface
Public Interface IVsTaskSchedulerService2
Attributes

Remarks

This interface is safe to access from any thread.

Methods

GetAsyncTaskContext()

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.

GetTaskScheduler(UInt32)

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.

Applies to