Hi~
I want to registe an one time task ,so I try to use customTrigger.
But I failed to create customTrigger by the code like :
> CustomTrigger custTrigger = (CustomTrigger)CustomTrigger.CreateTrigger(TaskTriggerType.Custom);
the returned value is null!
I import your dll by NuGet ,and the version is 2.5.26
Look forward to your reply!
Comments: CustomTrigger is a read-only trigger and cannot be used to create a new trigger. Please read the documentation under the Documentation area, specifically all the detail for creating triggers. You should be using a TimeTrigger.
I want to registe an one time task ,so I try to use customTrigger.
But I failed to create customTrigger by the code like :
> CustomTrigger custTrigger = (CustomTrigger)CustomTrigger.CreateTrigger(TaskTriggerType.Custom);
the returned value is null!
I import your dll by NuGet ,and the version is 2.5.26
Look forward to your reply!
Comments: CustomTrigger is a read-only trigger and cannot be used to create a new trigger. Please read the documentation under the Documentation area, specifically all the detail for creating triggers. You should be using a TimeTrigger.