TimerEventSubscriptionCollection Class

Represents an ordered list of TimerEventSubscription objects.

Namespace:  System.Workflow.Runtime
Assembly:  System.Workflow.Runtime (in System.Workflow.Runtime.dll)

[SerializableAttribute]
public class TimerEventSubscriptionCollection : ICollection, 
	IEnumerable

A TimerEventSubscriptionCollection represents the queue of TimerEventSubscription objects associated with a workflow instance and provides methods to manage this queue. Subscriptions are ordered in the queue based on their ExpiresAt values; those with smaller ExpiresAt values are positioned before those with larger ExpiresAt values. You can use the methods provided by this class to manage the collection of active timer event subscriptions exposed by TimerCollectionProperty for each workflow instance. You can use Add or Remove to add or remove subscriptions from the timer queue. Whenever the first element in the timer queue changes, the WorkflowSchedulerService is called to cancel the timer event that was previously at the beginning of the queue and schedule the new timer event.

System.Object
  System.Workflow.Runtime.TimerEventSubscriptionCollection

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2015 Microsoft