This documentation is archived and is not being maintained.

RetryManager Constructor (Int32, Action<Exception>)

Initializes a new instance of the the RetryManager class.

Namespace:  Microsoft.TeamFoundation.Common
Assembly:  Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)

public:
RetryManager(
	int retryCount, 
	Action<Exception^>^ onException
)

Parameters

retryCount
Type: System::Int32

The number of retries.

onException
Type: System::Action<Exception>

A callback method that will be called if exception is thrown.

Show: