Improve error reporting when hitting the Azure API limit
We have been working with Microsoft Support to identify an issue where we were intermittently encountering exception "A task was canceled" when calling the list methods from Microsoft.Azure.Management.Compute.SnapshotsOperationsExtensions.
We narrowed this down to the Azure API limit being reached, which from our understanding is a maximum of 240 request / 3 minutes.
It appears that currently the only way to confirm that this is the issue is to check "x-ms-ratelimit-remaining-resource" in the header details.
It would be good if the Azure .NET SDK could report an exception that indicates the API limit has been exceeded, rather than "A task has been Canceled". Much like how AWS reports an error when the request limit has been exceeded.