进程等待事件提供自定义逻辑 (如超时过后,句柄信号或 windows 消息到达。接口对于需要对等待逻辑进行更多控制的更高级的等待方案仅是必需的。在许多情况下 ModalWaitForObjects 提供的默认功能应已足够。此接口是 IOleComponent2的简化版本。
命名空间: Microsoft.VisualStudio.Shell.Interop
程序集: Microsoft.VisualStudio.Shell.11.0(在 Microsoft.VisualStudio.Shell.11.0.dll 中)
Microsoft.VisualStudio.Shell.Interop.10.0(在 Microsoft.VisualStudio.Shell.Interop.10.0.dll 中)
语法
声明
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
<GuidAttribute("9C6D9104-7DB9-4ABD-841D-F0CFD24DE3D0")> _
Public Interface IVsCommonMessagePumpClientEvents
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
[GuidAttribute("9C6D9104-7DB9-4ABD-841D-F0CFD24DE3D0")]
public interface IVsCommonMessagePumpClientEvents
IVsCommonMessagePumpClientEvents 类型公开以下成员。
方法
名称 | 说明 | |
---|---|---|
![]() |
OnAfterMessageProcessed | 对每个窗口消息后由 Visual Studio 常用消息泵实现。 |
![]() |
OnHandleSignaled | ,当处理事件信号时,将引发事件。客户端实现应确定等待是否可以继续基于到目前为止哪些处理发出其事件信号。 |
![]() |
OnTimeout | 引发,在超时时间段。 |
页首