Share via


Actor(ActorService, ActorId) Constructor

Definition

Initializes a new instance of the Actor class.

protected Actor (Microsoft.ServiceFabric.Actors.Runtime.ActorService actorService, Microsoft.ServiceFabric.Actors.ActorId actorId);
new Microsoft.ServiceFabric.Actors.Runtime.Actor : Microsoft.ServiceFabric.Actors.Runtime.ActorService * Microsoft.ServiceFabric.Actors.ActorId -> Microsoft.ServiceFabric.Actors.Runtime.Actor
Protected Sub New (actorService As ActorService, actorId As ActorId)

Parameters

actorService
ActorService

The ActorService that will host this actor instance.

actorId
ActorId

The ActorId for this actor instance.

Applies to