Show / Hide Table of Contents

Class WebExceptionExtensions

Provides extension methods for WebExceptions.

Inheritance
Object
WebExceptionExtensions
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
In This Article
Back to top Copyright Bastian Eicher et al