metodo di GetTaskSchedulersForDebugger
Recupera una matrice di tutti gli oggetti di TaskScheduler attualmente attive.
Nota
Queste informazioni sono specifiche di .NET Framework e sono soggette a modifiche nelle versioni future.
Poiché non è possibile accedere a questi membri da .NET Framework, in questo argomento viene illustrata la sintassi in Microsoft Intermediate Language (MSIL). Per ulteriori informazioni su MSIL, vedere Compiling to MSIL.
Spazio dei nomi: System.Threading.Tasks
Assembly: mscorlib (in mscorlib.dll)
.method assembly hidebysig static class System.Threading.Tasks.TaskScheduler[] GetTaskSchedulersForDebugger() cil managed
Valore restituito
Una matrice di tutti gli oggetti di TaskScheduler attualmente attive in questo AppDomain.
Note
Questo metodo non è thread-safe e non devono essere utilizzati contemporaneamente ad altre istanze di TaskScheduler. Deve essere chiamato da un debugger solo quando il debugger ha sospeso tutti gli altri thread.