示例#1
0
 private void OnApplicationExited(object sender, ApplicationExitedArgs args)
 {
     AppIdentity appIdentity = args.AppIdentity;
     Trace.TraceError("Application {0} exited unexpectedly with message {1}", appIdentity, args.Message);
     if (_applications.ContainsKey(appIdentity))
     {
         RemoveApplication(appIdentity).Wait();
     }
 }
示例#2
0
        private void OnApplicationExited(object sender, ApplicationExitedArgs args)
        {
            AppIdentity appIdentity = args.AppIdentity;

            Trace.TraceError($"Application {appIdentity} exited unexpectedly with message {args.Message}");
            if (_applications.ContainsKey(appIdentity))
            {
                RemoveApplication(appIdentity).GetAwaiter().GetResult();
            }
        }
示例#3
0
        private void OnApplicationExited(object sender, ApplicationExitedArgs args)
        {
            AppIdentity appIdentity = args.AppIdentity;

            Trace.TraceError("Application {0} exited unexpectedly with message {1}", appIdentity, args.Message);
            if (_applications.ContainsKey(appIdentity))
            {
                RemoveApplication(appIdentity).Wait();
            }
        }