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)

Syntax

'Declaration
Private Function OnTimeout ( _
    pvLoopData As IntPtr, _
    <OutAttribute> ByRef shouldContinue As Boolean _
) As Integer Implements IOleComponent2Private.OnTimeout
int IOleComponent2Private.OnTimeout(
    IntPtr pvLoopData,
    out bool shouldContinue
)
private:
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.

Parameters

  • 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

See Also

Reference

CommonMessagePump Class

Microsoft.VisualStudio.Shell Namespace