SystemEvents.KillTimer(IntPtr) 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.
Terminates the timer specified by the given id.
public:
static void KillTimer(IntPtr timerId);
public static void KillTimer (IntPtr timerId);
static member KillTimer : nativeint -> unit
Public Shared Sub KillTimer (timerId As IntPtr)
Parameters
- timerId
-
IntPtr
nativeint
The ID of the timer to terminate.
Exceptions
System event notifications are not supported under the current context. Server processes, for example, might not support global system event notifications.
The attempt to create a system events window thread did not succeed, or the attempt to terminate the timer did not succeed.
Applies to
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.