Nevron Open Vision Documentation
Nevron.Nov Namespace / NApplication Class / BeginInvoke Method / BeginInvoke(Function,Int32) Method
function to call on the main thread
optional delay after which function is called


In This Topic
    BeginInvoke(Function,Int32) Method
    In This Topic
    Executes the specified function asynchronously with the specified array of arguments on the UI thread (Application thread).
    Syntax
    'Declaration
     
    
    Public Overloads Shared Sub BeginInvoke( _
       ByVal func As Function, _
       Optional ByVal delay As System.Integer _
    ) 
    'Usage
     
    
    Dim func As Function
    Dim delay As System.Integer
     
    NApplication.BeginInvoke(func, delay)
    public static void BeginInvoke( 
       Function func,
       System.int delay
    )

    Parameters

    func
    function to call on the main thread
    delay
    optional delay after which function is called
    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