how to use a cancellation token c# code example
Example 1: c# cancellationtoken
[System.Runtime.InteropServices.ComVisible(false)]
public struct CancellationToken
Example 2: c# create cancelation token
CancellationTokenSource source = new CancellationTokenSource();
CancellationToken token = source.Token;