ActorRefProvider..::..ActorOf 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)

Syntax


InternalActorRef ActorOf(
	ActorSystem system,
	Props props,
	InternalActorRef supervisor,
	ActorPath path,
	bool systemService,
	Deploy deploy,
	bool lookupDeploy,
	bool async
)
Function ActorOf ( _
	system As ActorSystem, _
	props As Props, _
	supervisor As InternalActorRef, _
	path As ActorPath, _
	systemService As Boolean, _
	deploy As Deploy, _
	lookupDeploy As Boolean, _
	async As Boolean _
) As InternalActorRef
InternalActorRef^ ActorOf(
	ActorSystem^ system, 
	Props^ props, 
	InternalActorRef^ supervisor, 
	ActorPath^ path, 
	bool^ systemService, 
	Deploy^ deploy, 
	bool^ lookupDeploy, 
	bool^ async
)

Parameters

system
Type: Akka.Actor..::..ActorSystem
props
Type: Akka.Actor..::..Props
supervisor
Type: Akka.Actor..::..InternalActorRef
path
Type: Akka.Actor..::..ActorPath
systemService
Type: Boolean
deploy
Type: Akka.Actor..::..Deploy
lookupDeploy
Type: Boolean
async
Type: Boolean