public Object GetProcessHost(IProcessHostSupportFunctions functions)
 {
     try {
         return(ProcessHost.GetProcessHost(functions));
     }
     catch (Exception e) {
         Misc.ReportUnhandledException(e, new string[] { SR.GetString(SR.Cant_Create_Process_Host) });
         throw;
     }
 }
        public object GetProcessHost(IProcessHostSupportFunctions functions)
        {
            object processHost;

            try
            {
                processHost = ProcessHost.GetProcessHost(functions);
            }
            catch (Exception exception)
            {
                Misc.ReportUnhandledException(exception, new string[] { System.Web.SR.GetString("Cant_Create_Process_Host") });
                throw;
            }
            return(processHost);
        }