CommonMessagePump.IOleComponent2Private.OnHandleSignaled 方法

调用,当等待句柄集收到信号。

命名空间:  Microsoft.VisualStudio.Shell
程序集:  Microsoft.VisualStudio.Shell.11.0(在 Microsoft.VisualStudio.Shell.11.0.dll 中)

语法

声明
Private Function OnHandleSignaled ( _
    handleIndex As UInteger, _
    pvLoopData As IntPtr, _
    <OutAttribute> ByRef shouldContinue As Boolean _
) As Integer Implements IOleComponent2Private.OnHandleSignaled
int IOleComponent2Private.OnHandleSignaled(
    uint handleIndex,
    IntPtr pvLoopData,
    out bool shouldContinue
)

参数

  • shouldContinue
    类型:System.Boolean%
    [] true ,如果元素重新输入消息循环或 false ,则立即退出消息循环

返回值

类型:System.Int32
如果方法成功,则返回 S_OK。如果失败,它会返回一个错误代码。

实现

IOleComponent2Private.OnHandleSignaled(UInt32, IntPtr, Boolean%)

.NET Framework 安全性

请参见

参考

CommonMessagePump 类

Microsoft.VisualStudio.Shell 命名空间