SystemEvents::KillTimer Method (IntPtr)
.NET Framework (current version)
Terminates the timer specified by the given id.
Assembly: System (in System.dll)
Parameters
- timerId
-
Type:
System::IntPtr
The ID of the timer to terminate.
| Exception | Condition |
|---|---|
| InvalidOperationException | System event notifications are not supported under the current context. Server processes, for example, might not support global system event notifications. |
| ExternalException | The attempt to create a system events window thread did not succeed, or the attempt to terminate the timer did not succeed. |
.NET Framework
Available since 1.1
Available since 1.1
Show: