Udostępnij za pośrednictwem


OleComponent.DoOleEvents(IOleComponentManager, Func<Boolean>) Method

Definition

Message pump for an IOleComponentManager.

WARNING: Do not call this method unless it is absolutely necessary, and you know what you are doing. Pumping UI messages can have bad, bad side effects.

See: https://blogs.msdn.com/jfoscoding/archive/2005/08/06/448560.aspx

public:
 static void DoOleEvents(Microsoft::VisualStudio::OLE::Interop::IOleComponentManager ^ manager, Func<bool> ^ continuePumping);
public static void DoOleEvents (Microsoft.VisualStudio.OLE.Interop.IOleComponentManager manager, Func<bool> continuePumping);
static member DoOleEvents : Microsoft.VisualStudio.OLE.Interop.IOleComponentManager * Func<bool> -> unit
Public Shared Sub DoOleEvents (manager As IOleComponentManager, continuePumping As Func(Of Boolean))

Parameters

manager
IOleComponentManager

IOleComponentManager for which messages will be pumped.

continuePumping
Func<Boolean>

Delegate to use to continue / cancel pumping. If null, will always continue pumping.

Applies to