Freigeben über


IVsCommonMessagePumpClientEvents Interface

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 should be sufficient. This interface is a simplified version of IOleComponent2.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assemblies:   Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
<GuidAttribute("9C6D9104-7DB9-4ABD-841D-F0CFD24DE3D0")> _
Public Interface IVsCommonMessagePumpClientEvents
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
[GuidAttribute("9C6D9104-7DB9-4ABD-841D-F0CFD24DE3D0")]
public interface IVsCommonMessagePumpClientEvents
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)]
[GuidAttribute(L"9C6D9104-7DB9-4ABD-841D-F0CFD24DE3D0")]
public interface class IVsCommonMessagePumpClientEvents
[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>]
[<GuidAttribute("9C6D9104-7DB9-4ABD-841D-F0CFD24DE3D0")>]
type IVsCommonMessagePumpClientEvents =  interface end
public interface IVsCommonMessagePumpClientEvents

The IVsCommonMessagePumpClientEvents type exposes the following members.

Methods

  Name Description
Public method OnAfterMessageProcessed Called after every window message is processed by the Visual Studio common message pump implementation.
Public method OnHandleSignaled 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.
Public method OnTimeout Raised when a time-out elapses.

Top

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace