Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The method's behavior is very similar to ModalWaitForObjects(array<IntPtr[], UInt32, UInt32%). In addition, it allows for a custom wait and events processing logic to be supplied. The method makes VS modal, and automatically provides the default wait UI after about 2 seconds of waiting.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
Syntax
'Declaration
Function ModalWaitForObjectsWithClient ( _
rgHandles As IntPtr(), _
cHandles As UInteger, _
pClient As IVsCommonMessagePumpClientEvents _
) As Integer
int ModalWaitForObjectsWithClient(
IntPtr[] rgHandles,
uint cHandles,
IVsCommonMessagePumpClientEvents pClient
)
int ModalWaitForObjectsWithClient(
[InAttribute] array<IntPtr>^ rgHandles,
[InAttribute] unsigned int cHandles,
[InAttribute] IVsCommonMessagePumpClientEvents^ pClient
)
abstract ModalWaitForObjectsWithClient :
rgHandles:IntPtr[] *
cHandles:uint32 *
pClient:IVsCommonMessagePumpClientEvents -> int
function ModalWaitForObjectsWithClient(
rgHandles : IntPtr[],
cHandles : uint,
pClient : IVsCommonMessagePumpClientEvents
) : int
Parameters
- rgHandles
Type: array<System.IntPtr[]
The array of handles for the objects to wait on.
- cHandles
Type: System.UInt32
The number of handles in the array. The maximum is 64.
- pClient
Type: Microsoft.VisualStudio.Shell.Interop.IVsCommonMessagePumpClientEvents
The IVsCommonMessagePumpClientEvents.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
.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.