IHostCancellationManager Interface
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.
Assembly: Microsoft.WindowsAzure.Mobile.Service (in Microsoft.WindowsAzure.Mobile.Service.dll)
| Name | Description | |
|---|---|---|
![]() | HostCancellationToken | Provide a CancellationToken which will fire when the service is about to shut down. This signals to the service that it has a short amount of time to finish up (typically 30 seconds). |
Show:
.jpeg?cs-save-lang=1&cs-lang=cpp)