public void set_query_logging_state( string [] profile_names, CommonEnabledState [] states ) { this.Invoke("set_query_logging_state", new object [] { profile_names, states}); }