 | Props Constructor (Deploy, Type,Object[]) |
Initializes a new instance of the
Props class.
Namespace:
Akka.Actor
Assembly:
Akka (in Akka.dll) Version: 1.2.3.129 (1.2.3.129)
Syntaxpublic Props(
Deploy deploy,
Type type,
params Object[] args
)
new :
deploy : Deploy *
type : Type *
args : Object[] -> Props
Parameters
- deploy
- Type: Akka.Actor.Deploy
The configuration used to deploy the actor. - type
- Type: System.Type
The type of the actor to create. - args
- Type:System.Object[]
The arguments needed to create the actor.
ExceptionsException | Condition |
---|
ArgumentException | This exception is thrown if type is an unknown actor producer. |
See Also