NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Schedule Members

Public:

Constructor

Schedule Constructor Initializes a new default instance of the Schedule class.

Properties

Enabled Gets or sets a value indicating whether to start raising events according to the set of patterns specified.
RecurrencePatterns Gets a collection of time patterns that describe when to raise events.
Site (inherited from Component) Gets or sets the site of the Component.
SynchronizingObject Represents the object used to marshal the event handler calls issued as a result of a Scheduled event. Normally this property will be set when the component is placed inside a control or a from, since those components are bound to a specific thread.

Methods

BeginInit Notifies the object that initialization is beginning and puts it on standby.
Close Frees all the resources allocated by this object.
Dispose (inherited from Component) Disposes of the Component.
EndInit Notifies the object that initialization is complete.
Equals (inherited from Object) Determines whether the specified Object is the same instance as the current Object. Subclasses are expected to override this method to support value equality (not reference equality).
GetContainer (inherited from Component) Returns the IContainer that contains the Component.
GetDesignMode (inherited from Component) Gets a value indicating whether the Component is currently in design mode.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetServiceObject (inherited from Component) Returns an object representing a service provided by the Component.
GetTimeOfNextOccurrence Returns the next valid scheduled date and time.
GetType (inherited from Object) Gets the Type of the Object.
ToString (inherited from Component) Returns a String containing the name of the Component, if any. This method should not be overridden. For internal use only.

Events

EventOccurred Occurs when a scheduled event is due.

Protected:

Methods

Finalize (inherited from Component) [To be supplied.]
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

Event Hookup:

Methods

AddOnEventOccurred Adds an event handler to the EventOccurred event.
RemoveOnEventOccurred Removes the specified event handler from the System.Timers.Schedule.EventOccurred event.

See Also

Schedule Class | System.Timers Namespace