Click or drag to resize
ActorRefProviderActorOf 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: 0.8.0.0 (0.8.0.0)
Syntax
InternalActorRef ActorOf(
	ActorSystemImpl system,
	Props props,
	InternalActorRef supervisor,
	ActorPath path,
	bool systemService,
	Deploy deploy,
	bool lookupDeploy,
	bool async
)

Parameters

system
Type: Akka.Actor.InternalsActorSystemImpl

[Missing <param name="system"/> documentation for "M:Akka.Actor.ActorRefProvider.ActorOf(Akka.Actor.Internals.ActorSystemImpl,Akka.Actor.Props,Akka.Actor.InternalActorRef,Akka.Actor.ActorPath,System.Boolean,Akka.Actor.Deploy,System.Boolean,System.Boolean)"]

props
Type: Akka.ActorProps

[Missing <param name="props"/> documentation for "M:Akka.Actor.ActorRefProvider.ActorOf(Akka.Actor.Internals.ActorSystemImpl,Akka.Actor.Props,Akka.Actor.InternalActorRef,Akka.Actor.ActorPath,System.Boolean,Akka.Actor.Deploy,System.Boolean,System.Boolean)"]

supervisor
Type: Akka.ActorInternalActorRef

[Missing <param name="supervisor"/> documentation for "M:Akka.Actor.ActorRefProvider.ActorOf(Akka.Actor.Internals.ActorSystemImpl,Akka.Actor.Props,Akka.Actor.InternalActorRef,Akka.Actor.ActorPath,System.Boolean,Akka.Actor.Deploy,System.Boolean,System.Boolean)"]

path
Type: Akka.ActorActorPath

[Missing <param name="path"/> documentation for "M:Akka.Actor.ActorRefProvider.ActorOf(Akka.Actor.Internals.ActorSystemImpl,Akka.Actor.Props,Akka.Actor.InternalActorRef,Akka.Actor.ActorPath,System.Boolean,Akka.Actor.Deploy,System.Boolean,System.Boolean)"]

systemService
Type: SystemBoolean

[Missing <param name="systemService"/> documentation for "M:Akka.Actor.ActorRefProvider.ActorOf(Akka.Actor.Internals.ActorSystemImpl,Akka.Actor.Props,Akka.Actor.InternalActorRef,Akka.Actor.ActorPath,System.Boolean,Akka.Actor.Deploy,System.Boolean,System.Boolean)"]

deploy
Type: Akka.ActorDeploy

[Missing <param name="deploy"/> documentation for "M:Akka.Actor.ActorRefProvider.ActorOf(Akka.Actor.Internals.ActorSystemImpl,Akka.Actor.Props,Akka.Actor.InternalActorRef,Akka.Actor.ActorPath,System.Boolean,Akka.Actor.Deploy,System.Boolean,System.Boolean)"]

lookupDeploy
Type: SystemBoolean

[Missing <param name="lookupDeploy"/> documentation for "M:Akka.Actor.ActorRefProvider.ActorOf(Akka.Actor.Internals.ActorSystemImpl,Akka.Actor.Props,Akka.Actor.InternalActorRef,Akka.Actor.ActorPath,System.Boolean,Akka.Actor.Deploy,System.Boolean,System.Boolean)"]

async
Type: SystemBoolean

[Missing <param name="async"/> documentation for "M:Akka.Actor.ActorRefProvider.ActorOf(Akka.Actor.Internals.ActorSystemImpl,Akka.Actor.Props,Akka.Actor.InternalActorRef,Akka.Actor.ActorPath,System.Boolean,Akka.Actor.Deploy,System.Boolean,System.Boolean)"]

Return Value

Type: InternalActorRef

[Missing <returns> documentation for "M:Akka.Actor.ActorRefProvider.ActorOf(Akka.Actor.Internals.ActorSystemImpl,Akka.Actor.Props,Akka.Actor.InternalActorRef,Akka.Actor.ActorPath,System.Boolean,Akka.Actor.Deploy,System.Boolean,System.Boolean)"]

See Also