SubmitToHostEventArgs class
SharePoint 2013
Used to return information about the submit to host operation of a hosted InfoPath form template.
Namespace:
Microsoft.Office.InfoPath.Server.Controls
Assembly: Microsoft.Office.InfoPath.Server (in Microsoft.Office.InfoPath.Server.dll)
Use the SubmitToHostConnection object from the Microsoft.Office.InfoPath namespace to perform actions not supported by rules or other declarative logic. For more information about creating a SubmitToHostAdapter data connection in an InfoPath form template, see Hosting the InfoPath Form Editing Environment in a Custom Web Form.