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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for