CommonMessagePump.IOleComponent2Private.OnTimeout Method
Called when there is a timeout on a message loop.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'Declaração
Private Function OnTimeout ( _
pvLoopData As IntPtr, _
<OutAttribute> ByRef shouldContinue As Boolean _
) As Integer Implements IOleComponent2Private.OnTimeout
int IOleComponent2Private.OnTimeout(
IntPtr pvLoopData,
out bool shouldContinue
)
Parameters
- pvLoopData
Type: System.IntPtr
The data object.
- shouldContinue
Type: System.Boolean%
true to have this component re-enter the message loop, false to exit 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.OnTimeout(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.