 | ExtendedActorSystemSystemActorOfTActor Method (String) |
Creates a new system actor in the "/system" namespace. This actor
will be shut down during system shutdown only after all user actors have
terminated.
Namespace:
Akka.Actor
Assembly:
Akka (in Akka.dll) Version: 1.2.3.42 (1.2.3.42)
Syntaxpublic abstract IActorRef SystemActorOf<TActor>(
string name = null
)
where TActor : new(), ActorBase
abstract SystemActorOf :
?name : string
(* Defaults:
let _name = defaultArg name null
*)
-> IActorRef when 'TActor : new() and ActorBase
Parameters
- name (Optional)
- Type: SystemString
The name of the actor to create. The default value is .
Type Parameters
- TActor
- The type of actor to create
Return Value
Type:
IActorRefA reference to the newly created actor
See Also