Interface IUmbracoApplicationLifetime
Namespace: Umbraco.Cms.Core.Hosting
Assembly: Umbraco.Core.dll
Syntax
public interface IUmbracoApplicationLifetime
Properties
View SourceIsRestarting
A value indicating whether the application is restarting after the current request.
Declaration
bool IsRestarting { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
View SourceRestart()
Terminates the current application. The application restarts the next time a request is received for it.
Declaration
void Restart()