Enumerazione VsTaskRunContext
Specifies how the task is run.
Spazio dei nomi: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Sintassi
'Dichiarazione
Public Enumeration VsTaskRunContext
public enum VsTaskRunContext
Membri
Nome membro | Descrizione | |
---|---|---|
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 |