共用方式為


CommonMessagePump.IOleComponent2Private.OnHandleSignaled Method

Called when a wait handle has been signaled.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'宣告
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
)

Parameters

  • handleIndex
    Type: System.UInt32
    The index of the handle that was signaled.
  • shouldContinue
    Type: System.Boolean%
    [out] true if the component re-entered the message loop, or false if it exited the message loop immediately

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

IOleComponent2Private.OnHandleSignaled(UInt32, IntPtr, Boolean%)

.NET Framework Security

See Also

Reference

CommonMessagePump Class

Microsoft.VisualStudio.Shell Namespace