NoMessagePumpSyncContext.Wait(IntPtr[], Boolean, Int32) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
没有消息泵的异步块。
public:
override int Wait(cli::array <IntPtr> ^ waitHandles, bool waitAll, int millisecondsTimeout);
public override int Wait (IntPtr[] waitHandles, bool waitAll, int millisecondsTimeout);
override this.Wait : nativeint[] * bool * int -> int
Public Overrides Function Wait (waitHandles As IntPtr(), waitAll As Boolean, millisecondsTimeout As Integer) As Integer
参数
- waitAll
- Boolean
如果等待所有句柄,则为 true;若为 false,则等待任一句柄。
返回
满足等待的对象的数组索引。