| DeprecatedSchedulerExtensionsSchedule Method (IScheduler, TimeSpan, TimeSpan, IActorRef, Object, CancellationToken) |
Note: This API is now obsolete.
TBD
Namespace:
Akka.Actor
Assembly:
Akka (in Akka.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax [ObsoleteAttribute("Use ScheduleTellRepeatedly() or Context.SelfTellRepeatedly() instead. This method will be removed in future versions. [1.0.0]")]
public static void Schedule(
this IScheduler scheduler,
TimeSpan initialDelay,
TimeSpan interval,
IActorRef receiver,
Object message,
CancellationToken cancellationToken
)
[<ExtensionAttribute>]
[<ObsoleteAttribute("Use ScheduleTellRepeatedly() or Context.SelfTellRepeatedly() instead. This method will be removed in future versions. [1.0.0]")>]
static member Schedule :
scheduler : IScheduler *
initialDelay : TimeSpan *
interval : TimeSpan *
receiver : IActorRef *
message : Object *
cancellationToken : CancellationToken -> unit
Parameters
- scheduler
- Type: Akka.ActorIScheduler
TBD - initialDelay
- Type: SystemTimeSpan
TBD - interval
- Type: SystemTimeSpan
TBD - receiver
- Type: Akka.ActorIActorRef
TBD - message
- Type: SystemObject
TBD - cancellationToken
- Type: System.ThreadingCancellationToken
TBD
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IScheduler. 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).
See Also