how to send 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;