instead of the API, there's a .Net method:

vb Code:
  1. threading.thread.sleep(millisecondsTimeout as integer)