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

Created Unassigned: TriggerEditDialog: DateTime out of range [12117]

$
0
0
Run this code:
var trigger = new TimeTrigger();
trigger.EndBoundary = new DateTime(2016, 1, 1);
var dialog = new TriggerEditDialog(trigger, supportV1Only: false);
dialog.ShowDialog();

Then interactive with the dialog:
1. Uncheck Expire
2. Change to "At log on"
3. Uncheck Activate
4. Change to "On a schedule".

The following exception is thrown:

An unhandled exception of type 'System.ArgumentOutOfRangeException' occurred in System.Windows.Forms.dll
Additional information: Value of '0001-01-01 00:00:00' is not valid for 'Value'. 'Value' should be between 'MinDate' and 'MaxDate'.

Viewing all articles
Browse latest Browse all 2206

Trending Articles



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