Props..::..WithRouter Method

Returns a new Props with the specified router config set.

Namespace:  Akka.Actor
Assembly:  Akka (in Akka.dll)

Syntax


public Props WithRouter(
	RouterConfig routerConfig
)
Public Function WithRouter ( _
	routerConfig As RouterConfig _
) As Props
public:
Props^ WithRouter(
	RouterConfig^ routerConfig
)

Parameters

routerConfig
Type: Akka.Routing..::..RouterConfig
The router configuration.

Return Value

Props.