Activity::OnActivityExecutionContextUnload Method (IServiceProvider^)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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.

Namespace:   System.Workflow.ComponentModel
Assembly:  System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)

public protected:
virtual void OnActivityExecutionContextUnload(
	IServiceProvider^ provider


Type: System::IServiceProvider^

The IServiceProvider that provides the service.

.NET Framework
Available since 3.0
Return to top