M
Martin Arvidsson, Visual Systems AB
Hi!
I get a unexpected error message that i dont know why it is happening.
timeOut = NextTimerEvent(ref _NextEventTimeSendRagard, "Rågård",
FiletypeToSend.Ragard);
The code above returns 137.23:10:54.9097393, that is a date and time in
december this year.
_ftpSendRagardTimer.Change(timeOut, TimeSpan.Zero);
the _ftpSend... is a System.Threading.Timer objec.
When i issue a change i use the TimeSpan struct,
an exception occours telling me that the dueTime is expected to be less than
2^32-2??!
Call me crazy, but isn't it less than that?
What could be the error?
Regards
Martin
I get a unexpected error message that i dont know why it is happening.
timeOut = NextTimerEvent(ref _NextEventTimeSendRagard, "Rågård",
FiletypeToSend.Ragard);
The code above returns 137.23:10:54.9097393, that is a date and time in
december this year.
_ftpSendRagardTimer.Change(timeOut, TimeSpan.Zero);
the _ftpSend... is a System.Threading.Timer objec.
When i issue a change i use the TimeSpan struct,
an exception occours telling me that the dueTime is expected to be less than
2^32-2??!
Call me crazy, but isn't it less than that?
What could be the error?
Regards
Martin