Condividi tramite


DispatcherQueue.RunEventLoop Metodo

Definizione

Overload

RunEventLoop()

Esegue un ciclo di messaggi fino a quando non viene chiamato EnqueueEventLoopExit o PostQuitMessage . Gestisce anche la generazione degli eventi ShutdownStarting/ShutdownCompleted e FrameworkShutdownStarting/FrameworkShutdownCompleted .

RunEventLoop(DispatcherRunOptions, DispatcherExitDeferral)

Esegue un ciclo di messaggi fino a quando non viene chiamato EnqueueEventLoopExit o PostQuitMessage . Gestisce anche la generazione degli eventi ShutdownStarting/ShutdownCompleted e FrameworkShutdownStarting/FrameworkShutdownCompleted .

RunEventLoop()

Esegue un ciclo di messaggi fino a quando non viene chiamato EnqueueEventLoopExit o PostQuitMessage . Gestisce anche la generazione degli eventi 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 ()
Attributi

Si applica a

RunEventLoop(DispatcherRunOptions, DispatcherExitDeferral)

Esegue un ciclo di messaggi fino a quando non viene chiamato EnqueueEventLoopExit o PostQuitMessage . Gestisce anche la generazione degli eventi 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)

Parametri

options
DispatcherRunOptions

Opzioni relative al messaggio di chiusura.

deferral
DispatcherExitDeferral

Oggetto differire utilizzato per rinviare l'uscita.

Attributi

Si applica a