RetryPolicyConfigurationSettings.RetryStrategies Property
Retired Content |
---|
This content and the technology described is outdated and is no longer being maintained. For more information about Transient Fault Handling, see Transient Fault Handling. |
Gets a collection of retry policy definitions represented by the RetryStrategyData object instances.
Namespace: Microsoft.Practices.EnterpriseLibrary.WindowsAzure.TransientFaultHandling.Configuration
Assembly: Microsoft.Practices.EnterpriseLibrary.WindowsAzure.TransientFaultHandling (in Microsoft.Practices.EnterpriseLibrary.WindowsAzure.TransientFaultHandling.dll) Version: 5.0.1118.0 (5.0.1118.0)
Syntax
[ConfigurationCollectionAttribute(typeof(RetryStrategyData))]
[ConfigurationPropertyAttribute("", Options = ConfigurationPropertyOptions.IsDefaultCollection)]
[CommandAttribute("Microsoft.Practices.EnterpriseLibrary.WindowsAzure.TransientFaultHandling.Configuration.Design.ViewModel.Commands.WellKnownRetryStrategyElementCollectionCommand, Microsoft.Practices.EnterpriseLibrary.WindowsAzure.TransientFaultHandling.Configuration", CommandPlacement = CommandPlacement.ContextAdd,
Replace = CommandReplacement.DefaultAddCommandReplacement)]
public RetryStrategyCollection RetryStrategies { get; }
'Declaration
<ConfigurationCollectionAttribute(GetType(RetryStrategyData))> _
<ConfigurationPropertyAttribute("", Options := ConfigurationPropertyOptions.IsDefaultCollection)> _
<CommandAttribute("Microsoft.Practices.EnterpriseLibrary.WindowsAzure.TransientFaultHandling.Configuration.Design.ViewModel.Commands.WellKnownRetryStrategyElementCollectionCommand, Microsoft.Practices.EnterpriseLibrary.WindowsAzure.TransientFaultHandling.Configuration", CommandPlacement := CommandPlacement.ContextAdd, _
Replace := CommandReplacement.DefaultAddCommandReplacement)> _
Public ReadOnly Property RetryStrategies As RetryStrategyCollection
Get
[ConfigurationCollectionAttribute(typeof(RetryStrategyData))]
[ConfigurationPropertyAttribute(L"", Options = ConfigurationPropertyOptions::IsDefaultCollection)]
[CommandAttribute(L"Microsoft.Practices.EnterpriseLibrary.WindowsAzure.TransientFaultHandling.Configuration.Design.ViewModel.Commands.WellKnownRetryStrategyElementCollectionCommand, Microsoft.Practices.EnterpriseLibrary.WindowsAzure.TransientFaultHandling.Configuration", CommandPlacement = CommandPlacement::ContextAdd,
Replace = CommandReplacement::DefaultAddCommandReplacement)]
public:
property RetryStrategyCollection^ RetryStrategies {
RetryStrategyCollection^ get ();
}
See Also
RetryPolicyConfigurationSettings Class
Microsoft.Practices.EnterpriseLibrary.WindowsAzure.TransientFaultHandling.Configuration Namespace