DispatcherQueue.RunEventLoop Método

Definición

Sobrecargas

RunEventLoop()

Ejecuta un bucle de mensajes hasta que se llama a EnqueueEventLoopExit o PostQuitMessage . También controla la generación de eventos ShutdownStarting/ShutdownCompleted y FrameworkShutdownStarting/FrameworkShutdownCompleted .

RunEventLoop(DispatcherRunOptions, DispatcherExitDeferral)

Ejecuta un bucle de mensajes hasta que se llama a EnqueueEventLoopExit o PostQuitMessage . También controla la generación de eventos ShutdownStarting/ShutdownCompleted y FrameworkShutdownStarting/FrameworkShutdownCompleted .

RunEventLoop()

Ejecuta un bucle de mensajes hasta que se llama a EnqueueEventLoopExit o PostQuitMessage . También controla la generación de eventos ShutdownStarting/ShutdownCompleted y 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

Se aplica a

RunEventLoop(DispatcherRunOptions, DispatcherExitDeferral)

Ejecuta un bucle de mensajes hasta que se llama a EnqueueEventLoopExit o PostQuitMessage . También controla la generación de eventos ShutdownStarting/ShutdownCompleted y 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

Opciones para relacionadas con el mensaje de cierre.

deferral
DispatcherExitDeferral

Objeto de aplazamiento, que se usa para aplazar la salida.

Atributos

Se aplica a