コード例 #1
0
ファイル: MainViewModel.cs プロジェクト: yao-yi/DNTProfiler
 private void addException(Exception ex)
 {
     DispatcherHelper.DispatchAction(() =>
     {
         AppExceptionsGuiData.AppExceptionsList.Add(new AppException
         {
             Message = ex.Message,
             Details = ExceptionLogger.GetExceptionCallStack(ex)
         });
         PluginContext.NotifyPluginsHost(NotificationType.Update, 1);
     });
 }