Compartilhar via


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

  • 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