ActorServiceAttribute 接口


This attributes allows configuring the properties of the actor service. The attribute is applied on the actor type.

public interface ActorServiceAttribute



The relative name of the actor service. This name will be combined with the application name to provide the full name of the actor service.

Remarks:By default, the actor service name is derived from the type of the actor interface microsoft.servicefabric.actors.ActorNameFormat#getFabricServiceName(Class, String) . However, in case when an actor interface is implemented by more than one actor, including by a derived type, the name cannot be determined from the actor interface in an unambiguous manner. In that case, the name of the actor service must be configured using this property of the ActorServiceAttribute.