Table of Contents

ValidateOptions Method

Definition

Namespace
Cuemon.Threading
Assemblies
Cuemon.Kernel.dll
Source
src/Cuemon.Kernel/Threading/AsyncRunOptions.cs

ValidateOptions()

Determines whether the public read-write properties of this instance are in a valid state.

public void ValidateOptions()

Remarks

This method is expected to throw exceptions when one or more conditions fails to be in a valid state.

Exceptions

InvalidOperationException

Timeout or Delay is negative. -or- MaximumAttempts is negative. -or- Delay is Zero and MaximumAttempts is not configured with a positive value.