public FrameworkElement CreateElement(IAppHostServices services)
 {
     try
     {
         return(m_SafeChildProcessHandle.CreateElement(services).ToFrameworkElement());
     }
     catch (RemotingException)
     {
         m_Process?.KillAndDispose();
         throw;
     }
 }
 public FrameworkElement CreateElement(IAppHostServices services)
 {
     return(m_SafeChildProcessHandle.CreateElement(services).ToFrameworkElement());
 }