public static class DownloadProgressExtension methods for IDownloadProgress.
Namespace
Google.Apis.DownloadAssembly
Google.Apis.dll
Methods
ThrowOnFailure(IDownloadProgress)
public static void ThrowOnFailure(this IDownloadProgress progress)Throws the exception from progress if it represents a failure with an exception.
The thrown exception will contain a more useful stack trace than just Exception
where this is available.
| Parameter | |
|---|---|
| Name | Description |
progress |
IDownloadProgressThe upload progress to check for failure. Must not be null. |