There is an error in the Microsoft documentation for IMonthlyDOWTrigger.WeeksOfMonth. It states that there is a FifthWeek (0x10) and a LastWeek (0x20). Doing some testing it appears that there should not be a FifthWeek and that LastWeek should equal 0x10. I have removed the FifthWeek enumeration value and changed the value of the LastWeek value to 0x10.
There is an error in the Microsoft documentation for IMonthlyDOWTrigger.WeeksOfMonth. It states that there is a FifthWeek (0x10) and a LastWeek (0x20). Doing some testing it appears that there should not be a FifthWeek and that LastWeek should equal 0x10. I have removed the FifthWeek enumeration value and changed the value of the LastWeek value to 0x10.
dahall/TaskScheduler