Execution.TerminateNonTerminatableThreadsPrompt
- Mise à jour2025-07-21
- Temps de lecture : 1 minute(s)
Execution.TerminateNonTerminatableThreadsPrompt
Syntax
Execution.TerminateNonTerminatableThreadsPrompt
Data Type
Purpose
Specifies the prompt message for a user interface to display in response to the UIMsg_NonTerminatableThreadsArePreventingTermination event. For example, a process model that spawns threads with a Thread.TerminationOption property set to ThreadTerminationOptions_Prompt might set this property to inform users of the specific work they might lose if they terminate the threads. A user interface can display a different prompt message, but this behavior typically is not necessary.