Execution.OverrideNonTerminatableThreads
- 更新时间2025-07-21
- 阅读时长1分钟
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 .