共用方式為


SingleThreadedSynchronizationContext.PushFrame Method

Definition

Pushes a message pump on the current thread that will execute work scheduled using Post(SendOrPostCallback, Object).

public:
 void PushFrame(Microsoft::VisualStudio::Threading::SingleThreadedSynchronizationContext::Frame ^ frame);
public void PushFrame (Microsoft.VisualStudio.Threading.SingleThreadedSynchronizationContext.Frame frame);
member this.PushFrame : Microsoft.VisualStudio.Threading.SingleThreadedSynchronizationContext.Frame -> unit
Public Sub PushFrame (frame As SingleThreadedSynchronizationContext.Frame)

Parameters

frame
SingleThreadedSynchronizationContext.Frame

The frame to represent this message pump, which controls when the message pump ends.

Applies to