Activity.OnActivityExecutionContextUnload(IServiceProvider) 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.
Called by the workflow runtime whenever an ActivityExecutionContext is unloaded. For example, this method is called during completion of an ActivityExecutionContext as well as every time the ActivityExecutionContext is unloaded when a workflow instance is persisted.
protected public:
virtual void OnActivityExecutionContextUnload(IServiceProvider ^ provider);
protected internal virtual void OnActivityExecutionContextUnload (IServiceProvider provider);
abstract member OnActivityExecutionContextUnload : IServiceProvider -> unit
override this.OnActivityExecutionContextUnload : IServiceProvider -> unit
Protected Friend Overridable Sub OnActivityExecutionContextUnload (provider As IServiceProvider)
Parameters
- provider
- IServiceProvider
The IServiceProvider that provides the service.