Dela via


Microsoft.ServiceFabric.Actors Namespace

Classes

ActorConcurrencyLockTimeoutException

Exception thrown by actor runtime when runtime cannot acquire the turn based concurrency lock to dispatch the method.

ActorExtensions

Class containing extension methods for Actors.

ActorId

The ActorId represents the identity of an actor within an actor service. This is used to identify the partition of the actor service inside which the actor will run, see GetPartitionKey()

ActorReference

Encapsulation of a reference to an actor for serialization.

InvalidMigrationStateProviderException

Exception to indicate actor state provider is invalid and cannot partitipate in migration.

InvalidReentrantCallException

This exception is thrown by actor runtime when more than one reentrant call chain is active for an actor at the same time.

This can happen in scenario where actor A calls actor B, C and D in parallel and then B, C and D try to call back A at the same time.

ReentrancyModeDisallowedException

Exception thrown by actor runtime when reentrant call is made for an actor and its ActorReentrancyMode is set to Disallowed.

ReentrantActorInvalidStateException

Exception thrown by actor runtime if the actor state is invalid during reentrant call.

ReminderNotFoundException

Exception thrown by actor runtime when a specified reminder is not found for the actor.

Interfaces

IActor

Base interface for inheriting reliable actor interfaces.

IActorEventPublisher

Represents publisher of actor events. Publishers of actor events must implement this interface

IActorEventPublisher<TIActorEvents>

Represents publisher of actor events. Publishers of actor events must implement this interface

IActorEvents

Represents actor events. Interface that creates actor events must implement this interface

IActorService

Defines the interface containing methods which can be called at Actor Service level.

Enums

ActorIdKind

Specifies the type of the ID value for an ActorId.