Skip to content

DurableMessagingOptions.Validate

Validate

View source
public void Validate()
Validates the configuration values and throws if any are invalid.

Exceptions

System.ArgumentOutOfRangeException
Thrown if DurableMessagingOptions is less than or equal to zero, or if DurableMessagingOptions is less than or equal to System.TimeSpan.Zero, or if a retry, retention, or batch option is outside its supported range.