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.7+1dadc87dcf0a0f837e19a3ce2deb7c1cd85375d1
protected CancellationTokenSource CancellationToken { get; }

Property Value

CancellationTokenSource

Example

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

See Also