Modal loops are a terrible idea from computing's past, and are impossible on modern OSes like Android, where this method won't exist. You may think it sounds like a handy thing to do, but you're almost certainly wrong, and should be looking for other non-blocking ways to do whatever it is that you're trying to achieve.
(Particularly if you're writing a plugin, this is an absolute no-go area, you'll really get into trouble if you use it)
I see no reason why someone would need this. I programmed .Net for almost 16 years and never used this.
I would strongly recommend rethinking the design if you end up with something like this.