New Post: Encounter WnfStateChangeTrigger error
Is this a task created by the OS or by you? What action are you performing when you see the exception?
View ArticleNew Post: Bug Win10 Incorrect XML Value
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...
View ArticleNew Post: Encounter WnfStateChangeTrigger error
Hi, Sorry for the late reply. The task is created by the OS. The exception occur when I'm trying to access the Task's Definition property. Thanks.
View ArticleNew Post: Delete task permissions issues
Hello, I was recently trying to figure out a permissions problem that cropped up when I tried to delete a scheduled task. I was working under an account that was a member of the administrator group,...
View ArticleNew Post: Delete task permissions issues
Great idea. That information is covered elsewhere in the documentation, but I agree that calling it out will help people newer to task management and the library. I'll make the change using your code...
View ArticleUpdated Wiki: Examples
Examples Home Page You can go to these pages for more sample code:Trigger Example CodeAction Example CodeSecurity Explanations and Samples Below are some examples of how to use most of the functions of...
View ArticleNew Post: Exception thrown in case of Trigger type "TimeTrigger"
Hi, I am trying to set task to be scheduled only once. Thus, I am using TimeTrigger , but I get the exception at ts.RootFolder.RegisterTaskDefinition(Curr_Task.Name, Curr_Task.Definition,...
View ArticleNew Post: Exception thrown in case of Trigger type "TimeTrigger"
You need to set the StartBoundry of the Trigger to a value in the future.
View ArticleNew Post: Encounter WnfStateChangeTrigger error
I have this task on my Windows 10 Build 1607 and am able to read the TaskDefinition (you'll actually see in your image that the Definition is not the problem). It's value is...
View ArticleNew Post: Exception thrown in case of Trigger type "TimeTrigger"
I just debug the code and got to know that Add(Trigger unboundTrigger) of TriggerCollection class, sets it to null while calling Bind(v2Def). Please check the below snaps for the same.Before...
View ArticleNew Post: Encounter WnfStateChangeTrigger error
Hi, I am able to open the task in the system "Task Scheduler" and run as Administrator. I actually has a windows service which run this line of code. foreach (Task task in source) //source is...
View ArticleNew Post: Encounter WnfStateChangeTrigger error
Did you have this problem using the 2.5.21 version of the library? If using NuGet, can you downgrade the library to 2.5.21 and retest and let me know if the exception goes away? I have a registry query...
View ArticleNew Post: Encounter WnfStateChangeTrigger error
The problem exists when I'm using version 2.5.22 of the library. The exception goes away after I've downgraded the library to 2.5.21 via NuGet. Thanks for the assistance. Looking forward to the version...
View ArticleSource code checked in, #98193
* Changed version to 2.5.23 * Fixed problem with custom triggers on Win10/Svr16 * Added automatic translation of embedded resource string from TaskDefinition when displayed in TaskPropertiesControl....
View ArticleReleased: Release 2.5.23 (Apr 07, 2017)
Update historyVersion 2.5.23Fixed problem with custom triggers on Win10/Svr16 Added automatic translation of embedded resource string from TaskDefinition when displayed in TaskPropertiesControl. Can...
View ArticleUpdated Release: Release 2.5.23 (Apr 07, 2017)
Update historyVersion 2.5.23Fixed problem with custom triggers on Win10/Svr16Added automatic translation of embedded resource string from TaskDefinition when displayed in TaskPropertiesControl. Can...
View ArticleNew Post: Encounter WnfStateChangeTrigger error
Should be fixed in 2.5.23 released today
View ArticleNew Post: Encounter WnfStateChangeTrigger error
I've updated the library version to 2.5.23 and the exception did not occur. Thanks.
View ArticleSource code checked in, #98194
* After 15 years, I found a more concise and efficient way to work with the core COM classes! Modifications made to interop classes to remove redundancy in the classes and now calling interfaces...
View Article