Share via


ActorBase.OnPostActorMethodAsync(ActorMethodContext) Method

Definition

Override this method for performing any actions after an actor method has finished execution. This method is invoked by actor runtime an actor method has finished execution.

protected virtual System.Threading.Tasks.Task OnPostActorMethodAsync (Microsoft.ServiceFabric.Actors.Runtime.ActorMethodContext actorMethodContext);
abstract member OnPostActorMethodAsync : Microsoft.ServiceFabric.Actors.Runtime.ActorMethodContext -> System.Threading.Tasks.Task
override this.OnPostActorMethodAsync : Microsoft.ServiceFabric.Actors.Runtime.ActorMethodContext -> System.Threading.Tasks.Task
Protected Overridable Function OnPostActorMethodAsync (actorMethodContext As ActorMethodContext) As Task

Parameters

actorMethodContext
ActorMethodContext

An ActorMethodContext describing the method that was invoked by actor runtime prior to this method.

Returns

Returns a Task representing post-actor-method operation.

Remarks

This method is invoked by actor runtime prior to:

  • Invoking an actor interface method when a client request comes.
  • Invoking a method on IRemindable interface when a reminder fires.
  • Invoking a timer callback when timer fires.

Applies to