編輯

共用方式為


Activity.OnActivityExecutionContextUnload(IServiceProvider) Method

Definition

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.

Applies to