An "Invoke" method, used to invoke on the UI thread.
            
 Declaration Syntax
 Declaration Syntax| C# | Visual Basic | Visual C++ | 
public delegate Object InvokeMethod( Delegate method, Object[] args )
Public Delegate Function InvokeMethod ( _ method As Delegate, _ args As Object() _ ) As Object
public delegate Object^ InvokeMethod( Delegate^ method, array<Object^>^ args )
 Parameters
 Parameters- method (Delegate)
- args (array< Object >[]()[])