Quantcast
Channel: Task Scheduler Managed Wrapper
Viewing all articles
Browse latest Browse all 2206

Commented Issue: The function attempted to use a name that is reserved for use by another transaction. (Exception from HRESULT: 0x80071A90) [9711]

$
0
0
I received the following exception when calling GetRunningTasks:
 
"The function attempted to use a name that is reserved for use by another transaction. (Exception from HRESULT: 0x80071A90)"
 
Here is the call stack:
at Microsoft.Win32.TaskScheduler.V2Interop.TaskSchedulerClass.GetRunningTasks(Int32 flags)
at Microsoft.Win32.TaskScheduler.TaskService.GetRunningTasks(Boolean includeHidden) in TaskService.cs:line 113
 
Section of code (line 113 is the return statement):
```
public RunningTaskCollection GetRunningTasks(bool includeHidden)
{
return v2 ? new RunningTaskCollection(this, v2TaskService.GetRunningTasks(includeHidden ? 1 : 0)) : new RunningTaskCollection(this);
}
```
The next time I called GetRunningTasks it succeeded but I'm concerned this exception is going to happen again.
 
Thanks,
Michael DePouw
Comments: ** Comment from web user: spottedmahn **

Thanks @dahall! That's great news. Thanks for following up on the matter.

Regards,
Mike DePouw


Viewing all articles
Browse latest Browse all 2206

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>