Click or drag to resize
Akka.NETCancelableCancelAfter Method (TimeSpan)
Schedules a cancel operation on this cancelable after the specified delay.

Namespace:  Akka.Actor
Assembly:  Akka (in Akka.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax
public void CancelAfter(
	TimeSpan delay
)

Parameters

delay
Type: SystemTimeSpan
The delay before this instance is canceled.

Implements

ICancelableCancelAfter(TimeSpan)
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionThis exception is thrown if the given delay is less than or equal to 0.
ObjectDisposedExceptionThis exception is thrown if this cancelable has already been disposed.
See Also