Share via


DispatcherQueue.RunEventLoop Méthode

Définition

Surcharges

RunEventLoop()

Exécute une boucle de message jusqu’à ce que EnqueueEventLoopExit ou PostQuitMessage soit appelé. Gère également le déclenchement des événements ShutdownStarting/ShutdownCompleted et FrameworkShutdownStarting/FrameworkShutdownCompleted .

RunEventLoop(DispatcherRunOptions, DispatcherExitDeferral)

Exécute une boucle de message jusqu’à ce que EnqueueEventLoopExit ou PostQuitMessage soit appelé. Gère également le déclenchement des événements ShutdownStarting/ShutdownCompleted et FrameworkShutdownStarting/FrameworkShutdownCompleted .

RunEventLoop()

Exécute une boucle de message jusqu’à ce que EnqueueEventLoopExit ou PostQuitMessage soit appelé. Gère également le déclenchement des événements ShutdownStarting/ShutdownCompleted et 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 ()
Attributs

S’applique à

RunEventLoop(DispatcherRunOptions, DispatcherExitDeferral)

Exécute une boucle de message jusqu’à ce que EnqueueEventLoopExit ou PostQuitMessage soit appelé. Gère également le déclenchement des événements ShutdownStarting/ShutdownCompleted et 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)

Paramètres

options
DispatcherRunOptions

Options relatives au message de quitter.

deferral
DispatcherExitDeferral

Objet de report, utilisé pour différer la sortie.

Attributs

S’applique à