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.
- pvLoopData
Type: System.IntPtr
The data.
- 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.