Click or drag to resize
Akka.NETTestActorRefBaseTActorReceive Method
Directly inject messages into actor receive behavior. Any exceptions thrown will be available to you, while still being able to use become/unbecome.

Namespace:  Akka.TestKit
Assembly:  Akka.TestKit (in Akka.TestKit.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax
public void Receive(
	Object message,
	IActorRef sender = null
)

Parameters

message
Type: SystemObject
The message.
sender (Optional)
Type: Akka.ActorIActorRef
The sender.
See Also