Execution.TerminateNonTerminatableThreadsPrompt

Syntax

Execution.TerminateNonTerminatableThreadsPrompt

Data Type

String

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.

See Also

Execution.OverrideNonTerminatableThreads

Thread.TerminationOption

ThreadTerminationOptions

UIMessageCodes

UIMsg_NonTerminatableThreadsArePreventingTermination