Click or drag to resize
Akka.NETClusterSingletonProxySettingsWithRole Method
Creates a new ClusterSingletonProxySettings setting with the specified role from the akka.cluster.role in the configuration used. The role specifies the nodes on which the targeted singleton can run.
Note Note
This method is immutable and returns a new instance of the setting.

Namespace:  Akka.Cluster.Tools.Singleton
Assembly:  Akka.Cluster.Tools (in Akka.Cluster.Tools.dll) Version: 1.2.3.129 (1.2.3.129)
Syntax
public ClusterSingletonProxySettings WithRole(
	string role
)

Parameters

role
Type: SystemString
The role of the singleton proxy.

Return Value

Type: ClusterSingletonProxySettings
A new setting with the provided role.
See Also