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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET