DurabilityProvider.ValidateDelayTime(TimeSpan, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Uses durability provider specific logic to verify whether a timespan for a timer, timeout or retry interval is allowed by the provider.
public virtual bool ValidateDelayTime (TimeSpan timespan, out string errorMessage);
abstract member ValidateDelayTime : TimeSpan * string -> bool
override this.ValidateDelayTime : TimeSpan * string -> bool
Public Overridable Function ValidateDelayTime (timespan As TimeSpan, ByRef errorMessage As String) As Boolean
Parameters
- timespan
- TimeSpan
The timespan that the code will have to wait for.
- errorMessage
- String
The error message if the timespan is invalid.
Returns
A boolean indicating whether the time interval is valid.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET