NevronOpenVision
Nevron.Nov Namespace / NTimer Class / SetTimeout Method
A non-null function to call
Delay (in milliseconds) after which to call the function
In This Topic
    SetTimeout Method
    In This Topic
    Executes the specified function after the specified delay (in milliseconds).
    Syntax
    public static void SetTimeout( 
       Function func,
       System.int delay
    )

    Parameters

    func
    A non-null function to call
    delay
    Delay (in milliseconds) after which to call the function
    Exceptions
    ExceptionDescription
    The exception that is thrown when a method call is invalid for the object's current state.
    Remarks
    The function can only be called from the UI thread of the application.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also