Bloom.UpdateVersionTable.IsConnectionError C# (CSharp) Method

IsConnectionError() private method

private IsConnectionError ( WebException ex ) : bool
ex System.Net.WebException
return bool
        private bool IsConnectionError(WebException ex)
        {
            return
                ex.Status == WebExceptionStatus.Timeout ||
                ex.Status == WebExceptionStatus.NameResolutionFailure;
            //I'm not sure if you'd ever get one of these?
            //				ex.Status == WebExceptionStatus.ReceiveFailure ||
            //			ex.Status == WebExceptionStatus.ConnectFailure;
        }