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

New Post: Delete IT After- Settings Tab - Immediately

$
0
0
I see the problem now. When I originally wrote the library, there were not nullable types supported in either C# or VB.NET. The native library uses strings that can have the following values:
  • 'null' == 'Never delete'
  • 'PT0S' (or TimeSpan.Zero) == 'Immediately'
  • 'PTxx' == other times
I needed a solution that would work without nullable types, so I chose to implement the library using Microsoft's solution for the V1 library, which is:
  • TimeSpan.Zero == 'Never delete'
  • TimeSpan.FromSeconds(1) == 'Immediately'
  • TimeSpan (other) == other times
I believe this is the discrepancy you're seeing. Sorry for the confusion.

Viewing all articles
Browse latest Browse all 2206

Trending Articles