Share via


DispatcherQueue.RunEventLoop 메서드

정의

오버로드

RunEventLoop()

EnqueueEventLoopExit 또는 PostQuitMessage가 호출될 때까지 메시지 루프를 실행합니다. 또한 ShutdownStarting/ShutdownCompletedFrameworkShutdownStarting/FrameworkShutdownCompleted 이벤트 발생을 처리합니다.

RunEventLoop(DispatcherRunOptions, DispatcherExitDeferral)

EnqueueEventLoopExit 또는 PostQuitMessage가 호출될 때까지 메시지 루프를 실행합니다. 또한 ShutdownStarting/ShutdownCompletedFrameworkShutdownStarting/FrameworkShutdownCompleted 이벤트 발생을 처리합니다.

RunEventLoop()

EnqueueEventLoopExit 또는 PostQuitMessage가 호출될 때까지 메시지 루프를 실행합니다. 또한 ShutdownStarting/ShutdownCompletedFrameworkShutdownStarting/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 ()
특성

적용 대상

RunEventLoop(DispatcherRunOptions, DispatcherExitDeferral)

EnqueueEventLoopExit 또는 PostQuitMessage가 호출될 때까지 메시지 루프를 실행합니다. 또한 ShutdownStarting/ShutdownCompletedFrameworkShutdownStarting/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)

매개 변수

options
DispatcherRunOptions

종료 메시지와 관련된 옵션입니다.

deferral
DispatcherExitDeferral

종료를 연기하는 데 사용되는 지연 개체입니다.

특성

적용 대상