protected virtual void RunApplication() { ExpressionApplication.StartGlobalPerformanceInstrumentation(); PerformanceUtility.MarkInterimStep(PerformanceEvent.ApplicationStartup, "Application Created"); try { this.Run(); } catch (TargetInvocationException ex) { if (ex.InnerException != null) { this.ShowSafeMessageBox(string.Format((IFormatProvider)CultureInfo.CurrentCulture, StringTable.ApplicationTargetInvocationDialogMessage, new object[1] { (object)ex.InnerException.ToString() }), StringTable.ApplicationTargetInvocationDialogTitle); } throw; } catch (SecurityException ex) { this.ShowSafeMessageBox(ex.ToString(), StringTable.ApplicationSecurityExceptionDialogTitle); } catch (MissingSatelliteAssemblyException ex) { this.ShowSafeMessageBox(ex.Message, "Microsoft Expression"); } }
public ExpressionInformationService(IServices services, Version version, ExpressionApplication application) { this.Services = services; this.Version = version; this.Application = application; }