 | MemberHasRole Method |
Checks to see if a member supports a particular role.
Namespace:
Akka.Cluster
Assembly:
Akka.Cluster (in Akka.Cluster.dll) Version: 1.2.3.42 (1.2.3.42)
Syntaxpublic bool HasRole(
string role
)
member HasRole :
role : string -> bool
Parameters
- role
- Type: SystemString
The rolename to check.
Return Value
Type:
Booleantrue if this member supports the role.
false otherwise.
See Also