xtd 0.2.0
Loading...
Searching...
No Matches

◆ begin_invoke() [2/4]

xtd::async_result xtd::forms::control::begin_invoke ( delegate< void(std::vector< std::any >)>  method,
const std::vector< std::any > &  args 
)
overridevirtual

Executes the specified delegate asynchronously with the specified arguments, on the thread that the control's underlying handle was created on.

Parameters
methodA delegate to a method that takes parameters of the same number and type that are contained in the args parameter.
argsAn array of objects to pass as arguments to the given method. This can be empty if no arguments are needed.
Returns
An async_result_invoke that represents the result of the begin_invoke(delegate) operation.

Implements xtd::isynchronize_invoke.