| ClusterShardingShardRegion Method |
Retrieve the actor reference of the
ShardRegion actor responsible for the named entity type.
The entity type must be registered with the
Start method before it can be used here.
Messages to the entity is always sent via the
ShardRegion.
Namespace:
Akka.Cluster.Sharding
Assembly:
Akka.Cluster.Sharding (in Akka.Cluster.Sharding.dll) Version: 1.2.3.129 (1.2.3.129)
Syntax public IActorRef ShardRegion(
string typeName
)
member ShardRegion :
typeName : string -> IActorRef
Parameters
- typeName
- Type: SystemString
TBD
Return Value
Type:
IActorRefTBD
Exceptions Exception | Condition |
---|
ArgumentException |
Thrown when shard region for provided typeName has not been started yet.
|
See Also