Click or drag to resize
Akka.NETTimeSpanExtensionsEnsureIsPositiveFinite Method
Throws an ArgumentException if the timeSpan is not 0 or greater.
Remarks
Note! Part of internal API. Breaking changes may occur without notice. Use at own risk.

Namespace:  Akka.TestKit.Internal
Assembly:  Akka.TestKit (in Akka.TestKit.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax
public static void EnsureIsPositiveFinite(
	this TimeSpan timeSpan,
	string parameterName
)

Parameters

timeSpan
Type: SystemTimeSpan
The timespan used for comparison.
parameterName
Type: SystemString
The name of the timespan.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type TimeSpan. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Exceptions
ExceptionCondition
ArgumentException This exception is thrown when the given timespan has zero or less ticks.
See Also