Execution.OverrideNonTerminatableThreads
- Mise à jour2025-07-21
- Temps de lecture : 1 minute(s)
Execution.OverrideNonTerminatableThreads
Syntax
Execution.OverrideNonTerminatableThreads
Data Type
Purpose
Overrides the value you set in the Thread.TerminationOption property. When an execution terminates, threads with a TerminationOption of ThreadTerminationOptions_Normal stop. If the Execution.OverrideNonTerminatableThreads property is set, threads with a TerminationOption of ThreadTerminationOptions_Prompt also stop without prompting. This option does not affect threads with a TerminationOption of ThreadTerminationOptions_Never .