Share via


ActorServiceAttribute.Name Property

Definition

Gets or sets 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.

public string Name { get; set; }
member this.Name : string with get, set
Public Property Name As String

Property Value

The name of the actor service relative to the application name.

Remarks

By default, the actor service name is derived from the type of the actor interface (GetFabricServiceName(Type, 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.

Applies to