Click or drag to resize
PropsCreateTActor Method (ExpressionFuncTActor, SupervisorStrategy)
Creates the specified factory.

Namespace: Akka.Actor
Assembly: Akka (in Akka.dll) Version: 0.8.0.0 (0.8.0.0)
Syntax
public static Props Create<TActor>(
	Expression<Func<TActor>> factory,
	SupervisorStrategy supervisorStrategy = null
)
where TActor : ActorBase

Parameters

factory
Type: System.Linq.ExpressionsExpressionFuncTActor
The factory.
supervisorStrategy (Optional)
Type: Akka.ActorSupervisorStrategy
Optional: Supervisor strategy

Type Parameters

TActor
The type of the t actor.

Return Value

Type: Props
Props.
Exceptions
ExceptionCondition
ArgumentExceptionThe create function must be a 'new T (args)' expression
See Also