Timer.OnTick(EventArgs) Method
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.
Raises the Tick event.
protected:
virtual void OnTick(EventArgs ^ e);
protected virtual void OnTick (EventArgs e);
abstract member OnTick : EventArgs -> unit
override this.OnTick : EventArgs -> unit
Protected Overridable Sub OnTick (e As EventArgs)
Parameters
Remarks
This method is called for each timer tick. It calls any methods that are added through Tick. If you are inheriting from Timer, you can override this method.
Raising an event invokes the event handler through a delegate. For more information, see Handling and Raising Events.
Notes to Inheritors
When overriding OnTick(EventArgs) in a derived class, make sure that you call the base class's OnTick(EventArgs) method.
Applies to
Visszajelzés
https://aka.ms/ContentUserFeedback.
Hamarosan elérhető: 2024-ben fokozatosan kivezetjük a GitHub-problémákat a tartalom visszajelzési mechanizmusaként, és lecseréljük egy új visszajelzési rendszerre. További információ:Visszajelzés küldése és megtekintése a következőhöz: