WebHostCancellationManager.HostCancellationToken Property

 

Gets a CancellationToken which will fire if the host is about to shut down. This is a signal that the task monitoring this cancellation token should finish up as soon as possible. Typically a host such as ASP.NET provides a 30 delay after this signal has been sent before the task is unregistered and the app domain is taken down.

Namespace:   Microsoft.WindowsAzure.Mobile.Service.Hosting
Assembly:  Microsoft.WindowsAzure.Mobile.Service.WebHost (in Microsoft.WindowsAzure.Mobile.Service.WebHost.dll)

Public ReadOnly Property HostCancellationToken As CancellationToken

Property Value

Type: System.Threading.CancellationToken

A cancellation token which will fire when the host is about to shut down.

Return to top
Show: