public static class UploadProgressExtension methods for IUploadProgress.
Namespace
Google.Apis.UploadAssembly
Google.Apis.dll
Methods
ThrowOnFailure(IUploadProgress)
public static void ThrowOnFailure(this IUploadProgress 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 |
IUploadProgressThe upload progress to check for failure. Must not be null. |