Microsoft KB Archive/936616

= BUG: The constructor of the System.Threading.Timer object throws an exception when you call the DelayActivity class in a state machine workflow in Windows Workflow Foundation =

Article ID: 936616

Article Last Modified on 10/31/2007

-

APPLIES TO


 * Windows Workflow Foundation

-



SYMPTOMS
Consider the following scenario:
 * In Microsoft Windows Workflow Foundation, you develop a state machine workflow that waits for an input activity.
 * You set a delay timer for this input activity.
 * You set the length of the delay to more than two months.
 * The length of the delay is calculated and is included in the TimeSpan object.

Note The TimeSpan object is used to initialize the DelayActivity class. The DelayActivity class handles the delay time.
 * You call the DelayActivity class. The DelayActivity class initializes the System.Threading.Timer object.

In this scenario, the constructor of the System.Threading.Timer object throws an exception.

Note This problem does not occur when you use the DelayActivity.InitializeTimeoutDuration event to configure the DelayActivity class.



STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed in the &quot;Applies to&quot; section.

Keywords: kbtshoot kbbug KB936616

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.