Class WebExceptionExtensions
Provides extension methods for WebExceptions.
Namespace: ZeroInstall.Services
Assembly: ZeroInstall.Services.dll
Syntax
public static class WebExceptionExtensions : Object
Methods
ShouldTryMirror(WebException, Uri)
Determines a download from a specific uri
that failed with an exception
is should be retried using a mirror location.
Declaration
public static bool ShouldTryMirror(this WebException exception, Uri uri)
Parameters
Type | Name | Description |
---|---|---|
WebException | exception | |
Uri | uri |
Returns
Type | Description |
---|---|
Boolean |