Is there a way to cancel Async System.Threading.Tasks.Task? i.e.
Task.Factory.FromAsync(
client.BeginCallWebService,
client.EndCallWebService,
"param1",
null);
I would like to register a common CancellationToken with this task, so that if the token is canceled before this Async task starts, it will not be called.
thank
source
share