RetryManager::SetDefault Method (RetryManager^, Boolean)

 

Sets the specified retry manager as the default retry manager.

Namespace:   Microsoft.WindowsAzure.Common.TransientFaultHandling
Assembly:  Microsoft.WindowsAzure.Common (in Microsoft.WindowsAzure.Common.dll)

public:
static void SetDefault(
	RetryManager^ retryManager,
	bool throwIfSet = true
)

Parameters

retryManager
Type: Microsoft.WindowsAzure.Common.TransientFaultHandling::RetryManager^

The retry manager.

throwIfSet
Type: System::Boolean

true to throw an exception if the manager is already set; otherwise, false. Defaults to true.

Exception Condition
InvalidOperationException

The singleton is already set and throwIfSet is true.

Return to top
Show: