ArcGIS Pro 3.7 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 Function InvokeTask( _
       ByVal function As Func(Of Task) _
    ) As Task
    public Task InvokeTask( 
       Func<Task> function
    )

    Parameters

    function
    The method to call.

    Return Value

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

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also