Partager via


VsTaskRunContext, énumération

Specifies how the task is run.

Espace de noms :  Microsoft.VisualStudio.Shell
Assembly :  Microsoft.VisualStudio.Shell.11.0 (dans Microsoft.VisualStudio.Shell.11.0.dll)

Syntaxe

'Déclaration
Public Enumeration VsTaskRunContext
public enum VsTaskRunContext

Membres

Nom de membre Description
BackgroundThread Runs the task on the background thread pool with normal priority.
UIThreadSend
UIThreadBackgroundPriority Runs the task on the UI thread using background priority (that is, below user input).
UIThreadIdlePriority Runs the task on the UI thread when Visual Studio is idle.
CurrentContext Runs the task on the current context (that is, the UI thread or the background thread).
BackgroundThreadLowIOPriority Runs the task on the background thread pool and sets the background mode on the thread while the task is running. This is useful for I/O-heavy background tasks that are not time critical.
UIThreadNormalPriority

Voir aussi

Référence

Microsoft.VisualStudio.Shell, espace de noms