RetryManager::SetDefault Method (RetryManager^, Boolean)
Sets the specified retry manager as the default retry manager.
Assembly: Microsoft.WindowsAzure.Common (in Microsoft.WindowsAzure.Common.dll)
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. |
Show: