ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Framework.Threading.Tasks Namespace / DelayedInvoker Class / InvokeTask Method
The method to call.

In This Topic
    InvokeTask Method
    In This Topic
    The method to execute when the delay elapses.
    Syntax
    public Task InvokeTask( 
       Func<Task> function
    )
    Public Function InvokeTask( _
       ByVal function As Func(Of Task) _
    ) As Task

    Parameters

    function
    The method to call.

    Return Value

    A task representing work queued to execute in the ThreadPool.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 8.1

    See Also