Click or drag to resize
Akka.NETIActorRefFactoryActorOf 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.

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

Parameters

props
Type: Akka.ActorProps
The props used to create this actor.
name (Optional)
Type: SystemString
Optional. The name of this actor.

Return Value

Type: IActorRef
A reference to the underlying actor.
Exceptions
ExceptionCondition
InvalidActorNameExceptionThrown if the given name is invalid or already in use
ConfigurationExceptionThrown if deployment, dispatcher or mailbox configuration is wrong
See Also