static bool IsErrorStringMatch(StorageException exception, params string[] errorStrings)
 {
     return exception != null && exception.ExtendedErrorInformation != null
         && errorStrings.Contains(exception.ExtendedErrorInformation.ErrorCode);
 }
 static bool IsErrorCodeMatch(StorageException exception, params StorageErrorCode[] codes)
 {
     return exception != null
         && codes.Contains(exception.ErrorCode);
 }