Executes the given delegate on the main thread that this object executes on. Exceptions that are raised during the call will be propapgated back to the caller.
[Visual Basic] Function Invoke( _ ByVal method As Delegate, _ ByVal args() As Object _ ) As Object [C#] object Invoke( Delegate method, object[] args ); [C++] Object* Invoke( Delegate* method, Object* args[] ) = 0; [JScript] function Invoke( method : Delegate, args : Object[] ) : Object;
the return value from the delegate being invoked, or null if the delegate has no return value.
ISynchronizeInvoke Interface | ISynchronizeInvoke Members | System.ComponentModel Namespace