TimerExtension Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om