CommonMessagePump.IOleComponent2Private.OnHandleSignaled Method

Called when a wait handle has been signaled.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.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
virtual int OnHandleSignaled(
    unsigned int handleIndex, 
    IntPtr pvLoopData, 
    [OutAttribute] bool% shouldContinue
) sealed = IOleComponent2Private::OnHandleSignaled
private abstract OnHandleSignaled : 
        handleIndex:uint32 * 
        pvLoopData:IntPtr * 
        shouldContinue:bool byref -> int 
private override OnHandleSignaled : 
        handleIndex:uint32 * 
        pvLoopData:IntPtr * 
        shouldContinue:bool byref -> int 
JScript does not support explicit interface implementations.


  • 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.


IOleComponent2Private.OnHandleSignaled(UInt32, IntPtr, Boolean%)

.NET Framework Security

See Also


CommonMessagePump Class

Microsoft.VisualStudio.Shell Namespace