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+45c8d9adb5970d727cceec44a5ed61aea0016e50
protected CancellationTokenSource CancellationToken { get; }

Property Value

CancellationTokenSource

Example

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

See Also