Click or drag to resize
Akka.NETLocalActorRefProviderActorOf Method
Actor factory with create-only semantics: will create an actor as described by props with the given supervisor and path (may be different in case of remote supervision). If systemService is true, deployment is bypassed (local-only). If a value fordeploy is passed in, it should be regarded as taking precedence over the nominally applicable settings, but it should be overridable from external configuration; the lookup of the latter can be suppressed by setting "lookupDeploy" to "false".

Namespace:  Akka.Actor
Assembly:  Akka (in Akka.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax
public IInternalActorRef ActorOf(
	ActorSystemImpl system,
	Props props,
	IInternalActorRef supervisor,
	ActorPath path,
	bool systemService,
	Deploy deploy,
	bool lookupDeploy,
	bool async
)

Parameters

system
Type: Akka.Actor.InternalActorSystemImpl
TBD
props
Type: Akka.ActorProps
TBD
supervisor
Type: Akka.ActorIInternalActorRef
TBD
path
Type: Akka.ActorActorPath
TBD
systemService
Type: SystemBoolean
TBD
deploy
Type: Akka.ActorDeploy
TBD
lookupDeploy
Type: SystemBoolean
TBD
async
Type: SystemBoolean
TBD

Return Value

Type: IInternalActorRef
TBD

Implements

IActorRefProviderActorOf(ActorSystemImpl, Props, IInternalActorRef, ActorPath, Boolean, Deploy, Boolean, Boolean)
Exceptions
ExceptionCondition
ConfigurationException This exception can be thrown for a number of reasons. The following are some examples:
non-routers
The dispatcher in the given props is not configured for the given path.
or
There was a configuration problem while creating the given path with the dispatcher and mailbox from the given props
routers
The dispatcher in the given props is not configured for routees of the given path
or
The dispatcher in the given props is not configured for router of the given path
or
$There was a configuration problem while creating the given path with router dispatcher and mailbox and routee dispatcher and mailbox.
See Also