SystemEvents.KillTimer(IntPtr) Método

Definição

Encerra o temporizador especificado pela ID determinada.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)

Parâmetros

timerId
IntPtr

A ID do temporizador a encerrar.The ID of the timer to terminate.

Exceções

Não há suporte para notificações de eventos do sistema no contexto atual.System event notifications are not supported under the current context. Os processos do servidor, por exemplo, podem não dar suporte a notificações de eventos globais do sistema.Server processes, for example, might not support global system event notifications.

A tentativa de criar um thread de janela de eventos do sistema não foi bem-sucedida, ou a tentativa de encerrar o timer não teve êxito.The attempt to create a system events window thread did not succeed, or the attempt to terminate the timer did not succeed.

Aplica-se a