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
'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
pvLoopData
Type: System.IntPtrThe 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.