編輯

共用方式為


Dispatcher.Run Method

Definition

Pushes the main execution frame on the event queue of the Dispatcher.

public:
 static void Run();
[System.Security.SecurityCritical]
public static void Run ();
public static void Run ();
[<System.Security.SecurityCritical>]
static member Run : unit -> unit
static member Run : unit -> unit
Public Shared Sub Run ()
Attributes

Remarks

The Dispatcher processes the event queue in a loop. The loop is referred to as a frame. The initial loop is typically initiated by the application by calling Run.

The main execution frame will continue until the Dispatcher is shutdown.

Applies to