MainLayoutCancellationToken Property

Cancellation token for the component; this can be used for asynchronous operations on the components, to shut them down if the component has ended its lifetime.

Definition

Namespace: MobileTrack.Web.Portal.Pages
Assembly: MobileTrack.Web.Portal (in MobileTrack.Web.Portal.exe) Version: 0.8+821604ea552bde242964120acb39b21c90d2b4af
protected CancellationTokenSource CancellationToken { get; }

Property Value

CancellationTokenSource

Example

C#
await Foo(cancellationToken: CancellationToken.Token).ConfigureAwait(false);

See Also