Share via


ActorExtensions.GetActorId<TIActor>(TIActor) Method

Definition

Gets ActorId for the actor.

public static Microsoft.ServiceFabric.Actors.ActorId GetActorId<TIActor> (this TIActor actor) where TIActor : Microsoft.ServiceFabric.Actors.IActor;
static member GetActorId : 'IActor -> Microsoft.ServiceFabric.Actors.ActorId (requires 'IActor :> Microsoft.ServiceFabric.Actors.IActor)
<Extension()>
Public Function GetActorId(Of TIActor As IActor) (actor As TIActor) As ActorId

Type Parameters

TIActor

Actor interface type.

Parameters

actor
TIActor

Actor object to get ActorId for.

Returns

ActorId for the actor.

Applies to