From all the messages discussing Task.LastTaskResult, this thread seems to be the most detailed. But it's not very clear.
This library returns an integer (without much meaning) as the value for Task.LastTaskResult. Yet Windows task scheduler is able to display a meaningful message such as the ones shown in this image. Also, the Microsoft documentation for RegisteredTask.LastTaskResult property indicates it as a STRING property.
Can you clarify why the wrapper library can't provide the same useful information that the Windows Task Scheduler is providing for the Last Task Result?
This library returns an integer (without much meaning) as the value for Task.LastTaskResult. Yet Windows task scheduler is able to display a meaningful message such as the ones shown in this image. Also, the Microsoft documentation for RegisteredTask.LastTaskResult property indicates it as a STRING property.
Can you clarify why the wrapper library can't provide the same useful information that the Windows Task Scheduler is providing for the Last Task Result?