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

New Post: Gettings a exception Error (15,8):userId:

$
0
0
That error usually means that the TaskDefinition.Principle.UserId or the userId parameter of the RegisterTaskDefinition has been supplied an invalid user account name.

To answer the second question:
Using TS As New TaskService()
   If TS.FindTask("MyTaskNameHere") = Nothing Then
      ' You don't have that task
   End If
End Using

Viewing all articles
Browse latest Browse all 2206

Trending Articles



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