title: e.CloseReason with Visual Basic 2010 WPF
body: <p>I saw, that's imposible, that not exist with visual basic wpf, but I need to cancel <strong>any</strong> close reason except when user end sesion, restar or shutdown the computer, all everything, I want to cancel and ask to the user if user wants continue, allow it I can cancel almost all close reasons with e.Cancel = True but when user opens Task Manager and on the process tab click on finish it, my application dies instantly :( I need to cancel any close reasons, included any application wants to kill mine, or cmd with taskkill, but I need to cancel all close reason, except I said, and the others, when cancel it ask for the user, I saw that's posible with c#, but I can't use it, I need do it with visual basic 2010 wpf applicaction, If anybody knows it, thanks :)
  [Sorry for my bad english]
  Best regards.</p>