Muokkaa

Jaa


TimerExtension Class

Definition

Abstract base class for timer extensions.

public ref class TimerExtension abstract
public abstract class TimerExtension
type TimerExtension = class
Public MustInherit Class TimerExtension
Inheritance
TimerExtension
Derived

Remarks

A timer extension is used by activities such as Delay to manage timers.

Constructors

TimerExtension()

When implemented in a derived class, creates a new instance of the derived class.

Methods

CancelTimer(Bookmark)

Removes a timer.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
OnCancelTimer(Bookmark)

Called by the CancelTimer(Bookmark) method.

OnRegisterTimer(TimeSpan, Bookmark)

Called by the RegisterTimer(TimeSpan, Bookmark) method.

RegisterTimer(TimeSpan, Bookmark)

Creates a timer with the specified duration and associated.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to