adTempus API
ArcanaDevelopment.adTempus.ApplicationIntegration Namespace / IExecutionContext Interface / Sleep Method / Sleep(Int32) Method
The number of milliseconds to sleep.


In This Topic
    Sleep(Int32) Method
    In This Topic
    Delays execution for the specified number of milliseconds.
    Syntax
    'Declaration
     
    
    Overloads Function Sleep( _
       ByVal timeoutMS As Integer _
    ) As Boolean
    bool Sleep( 
       int timeoutMS
    )
    bool Sleep( 
       int timeoutMS
    ) 

    Parameters

    timeoutMS
    The number of milliseconds to sleep.

    Return Value

    True if the wait period elapsed, or False if the script/step/job was aborted before the wait elapsed.
    Remarks
    Use this method to sleep safely inside a script and abort processing if the script is terminated.
    See Also