Click or drag to resize
ActorRefFactoryActorOf Method
Create new actor as child of this context with the given name, which must not start with “$”. If the given name is already in use, and `InvalidActorNameException` is thrown. See Props for details on how to obtain a Props object. @throws akka.actor.InvalidActorNameException if the given name is invalid or already in use @throws akka.ConfigurationException if deployment, dispatcher or mailbox configuration is wrong

Namespace: Akka.Actor
Assembly: Akka (in Akka.dll) Version: 0.8.0.0 (0.8.0.0)
Syntax
ActorRef ActorOf(
	Props props,
	string name = null
)

Parameters

props
Type: Akka.ActorProps
The props.
name (Optional)
Type: SystemString
The name.

Return Value

Type: ActorRef
InternalActorRef.
See Also