ActorRuntime Class
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.
Contains methods to register actor and actor service types with Service Fabric runtime. Registering the types allows the runtime to create instances of the actor and the actor service. See https://docs.microsoft.com/azure/service-fabric/service-fabric-reliable-actors-lifecycle for more information on the lifecycle of an actor.
public static class ActorRuntime
type ActorRuntime = class
Public Class ActorRuntime
- Inheritance
-
ActorRuntime
Methods
RegisterActorAsync<TActor>(Func<StatefulServiceContext,ActorTypeInformation,ActorService>, TimeSpan, CancellationToken) |
Registers an actor service with Service Fabric runtime. This allows the runtime to create instances of the replicas for the actor service. |
RegisterActorAsync<TActor>(TimeSpan, CancellationToken) |
Registers an actor type with Service Fabric runtime. This allows the runtime to create instances of this actor. |
Applies to
Azure SDK for .NET