Share via


ActorNameFormat.GetFabricServiceName(Type, String) Method

Definition

Gets name of service which hosts the actor type in Service Fabric cluster.

public static string GetFabricServiceName (Type actorInterfaceType, string serviceName = default);
static member GetFabricServiceName : Type * string -> string
Public Shared Function GetFabricServiceName (actorInterfaceType As Type, Optional serviceName As String = Nothing) As String

Parameters

actorInterfaceType
Type

Type of the actor interface.

serviceName
String

Name of service hosting the actor type. If this value is null then service name is constructed using the actorInterfaceType.

Returns

Service Fabric service name hosting the actor type.

Applies to