API Help
Eplan.EplApi.Base.Internal Namespace / EplanMainThreadDispatcher Class / ExecuteInMainThreadSync Method
The work to be done.

In This Topic
    ExecuteInMainThreadSync Method
    In This Topic
    Execute this work in a synchronous main thread.
    Syntax
    public object ExecuteInMainThreadSync( 
       ExecuteInEplanMainThreadDelegate3 pExecuteDelegate,
       object x
    )
    public:
    Object^ ExecuteInMainThreadSync( 
       ExecuteInEplanMainThreadDelegate3^ pExecuteDelegate,
       Object^ x
    ) 

    Parameters

    pExecuteDelegate
    The work to be done.
    x
    Exceptions
    ExceptionDescription
    Thrown when no MainThreadDispatcher was set.
    See Also