共用方式為


CommonMessagePump.IOleComponent2Private.GetWaitHandlesAndTimeout Method

Gets the wait handles and the timeout value.

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

Syntax

'宣告
Private Function GetWaitHandlesAndTimeout ( _
    handles As IntPtr(), _
    <OutAttribute> ByRef handleCount As UInteger, _
    <OutAttribute> ByRef timeout As UInteger, _
    loopData As IntPtr _
) As Integer Implements IOleComponent2Private.GetWaitHandlesAndTimeout
int IOleComponent2Private.GetWaitHandlesAndTimeout(
    IntPtr[] handles,
    out uint handleCount,
    out uint timeout,
    IntPtr loopData
)

Parameters

  • handleCount
    Type: System.UInt32%
    [out] The number of handles returned.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

IOleComponent2Private.GetWaitHandlesAndTimeout(array<IntPtr[], UInt32%, UInt32%, IntPtr)

.NET Framework Security

See Also

Reference

CommonMessagePump Class

Microsoft.VisualStudio.Shell Namespace