ActorBase.OnPostActorMethodAsync(ActorMethodContext) Method
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.
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
Azure SDK for .NET