Class InvalidMaxConcurrentPartitions
- Namespace
- Cratis.Chronicle.Observation
- Assembly
- Cratis.Chronicle.dll
The exception that is thrown when the maximum number of concurrently handled partitions is less than one.
public class InvalidMaxConcurrentPartitions : Exception, ISerializable
- Inheritance
-
InvalidMaxConcurrentPartitions
- Implements
- Inherited Members
- Extension Methods
Constructors
InvalidMaxConcurrentPartitions(int)
The exception that is thrown when the maximum number of concurrently handled partitions is less than one.
public InvalidMaxConcurrentPartitions(int value)
Parameters
valueintThe invalid value.
Methods
ThrowIfInvalid(int)
Throws when the value is not at least one.
public static void ThrowIfInvalid(int value)
Parameters
valueintThe value to validate.
Exceptions
- InvalidMaxConcurrentPartitions
Thrown when the value is less than one.