ActorBase.OnDeactivateAsync 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 to release any resources. This method is called when actor is deactivated (garbage collected by Actor Runtime). Actor operations like state changes should not be called from this method.
protected virtual System.Threading.Tasks.Task OnDeactivateAsync ();
abstract member OnDeactivateAsync : unit -> System.Threading.Tasks.Task
override this.OnDeactivateAsync : unit -> System.Threading.Tasks.Task
Protected Overridable Function OnDeactivateAsync () As Task
Returns
A Task that represents outstanding OnDeactivateAsync operation.
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for .NET