Share via


DispatcherQueue.RunEventLoop Método

Definição

Sobrecargas

RunEventLoop()

Executa um loop de mensagem até que EnqueueEventLoopExit ou PostQuitMessage seja chamado. Também lida com a geração dos eventos ShutdownStarting/ShutdownCompleted e FrameworkShutdownStarting/FrameworkShutdownCompleted .

RunEventLoop(DispatcherRunOptions, DispatcherExitDeferral)

Executa um loop de mensagem até que EnqueueEventLoopExit ou PostQuitMessage seja chamado. Também lida com a geração dos eventos ShutdownStarting/ShutdownCompleted e FrameworkShutdownStarting/FrameworkShutdownCompleted .

RunEventLoop()

Executa um loop de mensagem até que EnqueueEventLoopExit ou PostQuitMessage seja chamado. Também lida com a geração dos eventos ShutdownStarting/ShutdownCompleted e FrameworkShutdownStarting/FrameworkShutdownCompleted .

public:
 virtual void RunEventLoop() = RunEventLoop;
/// [Windows.Foundation.Metadata.Overload("RunEventLoop")]
void RunEventLoop();
[Windows.Foundation.Metadata.Overload("RunEventLoop")]
public void RunEventLoop();
function runEventLoop()
Public Sub RunEventLoop ()
Atributos

Aplica-se a

RunEventLoop(DispatcherRunOptions, DispatcherExitDeferral)

Executa um loop de mensagem até que EnqueueEventLoopExit ou PostQuitMessage seja chamado. Também lida com a geração dos eventos ShutdownStarting/ShutdownCompleted e FrameworkShutdownStarting/FrameworkShutdownCompleted .

public:
 virtual void RunEventLoop(DispatcherRunOptions options, DispatcherExitDeferral ^ deferral) = RunEventLoop;
/// [Windows.Foundation.Metadata.Overload("RunEventLoopWithOptions")]
void RunEventLoop(DispatcherRunOptions const& options, DispatcherExitDeferral const& deferral);
[Windows.Foundation.Metadata.Overload("RunEventLoopWithOptions")]
public void RunEventLoop(DispatcherRunOptions options, DispatcherExitDeferral deferral);
function runEventLoop(options, deferral)
Public Sub RunEventLoop (options As DispatcherRunOptions, deferral As DispatcherExitDeferral)

Parâmetros

options
DispatcherRunOptions

Opções relacionadas à mensagem de encerramento.

deferral
DispatcherExitDeferral

Um objeto de adiamento, usado para adiar a saída.

Atributos

Aplica-se a