Bug Win10 Incorrect XML Value

Topics: Errors
Mar 20 at 4:13 PM
I'm trying to get a task description in the scheduler (RegistrationInfo.Description)

That's what I get.

Mar 22 at 11:21 PM
The exception is general enough that I really can't tell the cause. Will you post your code that is causing the exception, including the string you are assigning to the property?
Mar 23 at 4:56 PM
Edited Mar 23 at 5:02 PM
TaskService ts = new TaskService();
Task task = ts.GetTask(Path);
TaskDefinition taskDefinition = task.Definition;
var output = taskDefinition.RegistrationInfo.Description;
Win10 v1607, Task Scheduler 2.5.22, System task. Path ("Microsoft\Windows\Customer Experience Improvement Program\Consolidator")
Mar 24 at 5:00 PM
Will you capture the detail of the COMException and post it? That field contains a resource reference, but retrieving the Description should not cause an error. I'm able to retrieve it on my system (also Win10-1607) without error.