Share via


ActorBase.OnActivateAsync Method

Definition

Override this method to initialize the members, initialize state or register timers. This method is called right after the actor is activated and before any method call or reminders are dispatched on it.

protected virtual System.Threading.Tasks.Task OnActivateAsync ();
abstract member OnActivateAsync : unit -> System.Threading.Tasks.Task
override this.OnActivateAsync : unit -> System.Threading.Tasks.Task
Protected Overridable Function OnActivateAsync () As Task

Returns

A Task that represents outstanding OnActivateAsync operation.

Applies to