Gets the termination reason of the command. It's only valid on the destroy event.
# Get the value of the property.propertyValue = commandEventArgs_var.terminationReason
#include <Core/UserInterface/CommandEventArgs.h>// Get the value of the property.CommandTerminationReason propertyValue = commandEventArgs_var->terminationReason();