Microsoft.WindowsAzure.Mobile.Service.Hosting Namespace

 

Classes

Class Description
System_CAPS_pubclass HostCancellationManager

Provides an implementation of IHostCancellationManager that returns an empty CancellationToken instance.

System_CAPS_pubclass WebHostCancellationManager

Provides an implementation of IHostCancellationManager that hooks into the ASP.NET IRegisteredObject for listening to when the ASP.NET app domain is taken down. Tasks which need this behavior can request a CancellationToken to listen for when and if the app domain is about to be taken down.

Interfaces

Interface Description
System_CAPS_pubinterface IHostCancellationManager

Provides an abstraction for getting a cancellation token that fires when the hosting app domain shuts down. This allows situations where the host needs to inform an ongoing task that it is about to shut down.

Return to top