HttpRuntime.UnloadAppDomain Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Terminates the current application. The application restarts the next time a request is received for it.
public:
static void UnloadAppDomain();
public static void UnloadAppDomain ();
static member UnloadAppDomain : unit -> unit
Public Shared Sub UnloadAppDomain ()
Remarks
UnloadAppDomain
is useful for servers that have a large number of applications that infrequently receive requests. Rather than keep application resources alive for the lifetime of the process, UnloadAppDomain
allows programmatic shutdown of unused applications.
Applies to
Співпраця з нами на GitHub
Джерело цього вмісту можна знайти на GitHub, де також можна створювати й переглядати запитання та запити на внесення змін. Докладні відомості наведено в нашому посібнику для співавторів.