OnActivityExecutionContextUnload Method

Activity.OnActivityExecutionContextUnload Method (IServiceProvider)


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)

protected internal virtual void OnActivityExecutionContextUnload(
	IServiceProvider provider


Type: System.IServiceProvider

The IServiceProvider that provides the service.

.NET Framework
Available since 3.0
Return to top
© 2015 Microsoft