Compartilhar via


IVsCommonMessagePumpClientEvents Interface

Definition

Provides custom logic for handling wait events such as a time-out elapsing, a handle signaling, or a window message arriving. The interface is required only for more advanced wait scenarios that require more control over the wait logic. In most cases the default functionality offered by ModalWaitForObjects(IntPtr[], UInt32, UInt32) should be sufficient. This interface is a simplified version of IOleComponent2.

public interface class IVsCommonMessagePumpClientEvents
public interface class IVsCommonMessagePumpClientEvents
__interface IVsCommonMessagePumpClientEvents
public interface IVsCommonMessagePumpClientEvents
[System.Runtime.InteropServices.Guid("9C6D9104-7DB9-4ABD-841D-F0CFD24DE3D0")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsCommonMessagePumpClientEvents
type IVsCommonMessagePumpClientEvents = interface
[<System.Runtime.InteropServices.Guid("9C6D9104-7DB9-4ABD-841D-F0CFD24DE3D0")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsCommonMessagePumpClientEvents = interface
Public Interface IVsCommonMessagePumpClientEvents
Attributes

Methods

OnAfterMessageProcessed(Boolean)

Called after every window message is processed by the Visual Studio common message pump implementation.

OnHandleSignaled(UInt32, Boolean)

The event is raised when a handle is signaled. Client implementations should decide if the wait can continue based on which handle(s) have been signaled so far.

OnTimeout(Boolean)

Raised when a time-out elapses.

Applies to