| Mercury.QTP.CustomServer Namespace > CustomServerBase Class : ControlInvokeMethod Method | 
For more information, see the MSDN documentation for System.Windows.Control.InvokeRequired.
For a Custom Server running in the UFT context, pass only serialized types. If one of the objects in the list is not serialized, ControlInvokeMethod fails.
Parameters
- sMethod
 - The method to invoke.
 - list
 - The arguments passed to the method. Zero or more arguments, passed as a comma-delimited list of values. Pass parameters only of data types that can be stored in a Variant.
 
Return Value

                                                        
                                                        
                                                        
                                                        
                                                        
                                                            
                                                            
                                        
                                        
                                        
                                        