 | RetryingTargetWrapperRetryCount Property |
Gets or sets the number of retries that should be attempted on the wrapped target in case of a failure.
Namespace:
NLog.Targets.Wrappers
Assembly:
NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntaxpublic Layout<int> RetryCount { get; set; }
Public Property RetryCount As Layout(Of Integer)
Get
Set
Dim instance As RetryingTargetWrapper
Dim value As Layout(Of Integer)
value = instance.RetryCount
instance.RetryCount = value
member RetryCount : Layout<int> with get, set
Property Value
Type:
LayoutInt32
RemarksDefault: 3
See Also