Re: Relationship between Application.Exit() and AppDomain



One AppDomain per application. One or more AppDomains in a Process.

WPF doesn't change this as WPF is still a .NET application and is still run
by the CLR.

Application.Exit will kill the application you are calling it on and
therefore the AppDomain it is running in.


"Sunny S" <SunnyS@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:4D3C4E0C-2C92-4015-9E3A-E03120928532@xxxxxxxxxxxxxxxx
Hi,

Does Application.Exit() apply only to the AppDomain in which it is called?
Is it the same as in WPF - a single Application object per AppDomain?
Generally speaking, what is the relationship between an Application object
and AppDomain objects?

Regards,

Sunny S.


.



Relevant Pages

  • Re: Relationship between Application.Exit() and AppDomain
    ... "Sunny S" wrote in message ... Does Application.Exitapply only to the AppDomain in which it is called? ... WPF does not run a message loop so A.E makes no sense in WPF. ...
    (microsoft.public.dotnet.framework.clr)
  • Re: Relationship between Application.Exit() and AppDomain
    ... WPF doesn't change this as WPF is still a .NET application and is still run ... It doesn't try to do anything to the AppDomain. ... static void ShowUI ...
    (microsoft.public.dotnet.framework.clr)
  • Relationship between Application.Exit() and AppDomain
    ... Does Application.Exitapply only to the AppDomain in which it is called? ... Is it the same as in WPF – a single Application object per AppDomain? ... Generally speaking, what is the relationship between an Application object ... Sunny S. ...
    (microsoft.public.dotnet.framework.clr)
  • Relationship between an Application object and AppDomain
    ... Does Application.Exitapply only to the AppDomain in which it is called? ... Is it the same as in WPF – a single Application object per AppDomain? ... Generally speaking, what is the relationship between an Application object ... Sunny S. ...
    (microsoft.public.dotnet.framework.windowsforms)
  • RE: Relationship between Application.Exit() and AppDomain
    ... dedicated thread in a separate AppDomain. ... message pumps that they must terminate, ... SomeOtherWinForm and SimpleWinForm should close and the whole thing should ... "Sunny S" wrote: ...
    (microsoft.public.dotnet.framework.clr)