ActorNameFormat.GetFabricServiceName(Type, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET