configuration of TFH for SQL Database

Nov 25, 2014 at 4:30 PM
The configuration tool is not in Extensions and Updates that I can find, so attempting configuration in code. Here's my code:

            var retryStrategy = new Incremental(5, TimeSpan.FromSeconds(1), TimeSpan.FromSeconds(2));
            var _retryPolicy = new RetryPolicy<SqlDatabaseTransientErrorDetectionStrategy>(retryStrategy);
            RetryManager m = new RetryManager(new List<RetryStrategy>() {retryStrategy});
        catch (Exception ex)
The line defining the RetryManager is throwing an ArgumentNullException, saying that 'key' is null.

What's the right way to get TFH configured?

Nov 25, 2014 at 10:32 PM
Figured it out by leveraging the test code. Would be great if some of the examples in the test code were in the MSDN docs.
Marked as answer by sebastus on 11/25/2014 at 3:32 PM