API Help
Eplan.EplApi.Base.Internal Namespace / EplanMainThreadDispatcher Class / ExecuteInMainThreadAsync Method / ExecuteInMainThreadAsync(ExecuteInEplanMainThreadDelegate2,Object,Object) Method
The work to be done.
Parameter 1 for the work delegate.
Parameter 2 for the work delegate.

In This Topic
    ExecuteInMainThreadAsync(ExecuteInEplanMainThreadDelegate2,Object,Object) Method
    In This Topic
    Execute this work in a asynchronous main thread.
    Syntax
    public void ExecuteInMainThreadAsync( 
       ExecuteInEplanMainThreadDelegate2 pExecuteDelegate,
       object x,
       object y
    )
    public:
    void ExecuteInMainThreadAsync( 
       ExecuteInEplanMainThreadDelegate2^ pExecuteDelegate,
       Object^ x,
       Object^ y
    ) 

    Parameters

    pExecuteDelegate
    The work to be done.
    x
    Parameter 1 for the work delegate.
    y
    Parameter 2 for the work delegate.
    Exceptions
    ExceptionDescription
    Thrown when no MainThreadDispatcher was set.
    See Also