CommonMessagePump.IOleComponent2Private.OnTimeout Method

Called when there is a timeout on a message loop.

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


Private Function OnTimeout ( _
    pvLoopData As IntPtr, _
    <OutAttribute> ByRef shouldContinue As Boolean _
) As Integer Implements IOleComponent2Private.OnTimeout
int IOleComponent2Private.OnTimeout(
    IntPtr pvLoopData,
    out bool shouldContinue
virtual int OnTimeout(
    IntPtr pvLoopData, 
    [OutAttribute] bool% shouldContinue
) sealed = IOleComponent2Private::OnTimeout
private abstract OnTimeout : 
        pvLoopData:IntPtr * 
        shouldContinue:bool byref -> int 
private override OnTimeout : 
        pvLoopData:IntPtr * 
        shouldContinue:bool byref -> int 
JScript does not support explicit interface implementations.


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


IOleComponent2Private.OnTimeout(IntPtr, Boolean%)

.NET Framework Security

See Also


CommonMessagePump Class

Microsoft.VisualStudio.Shell Namespace