Activity.OnActivityExecutionContextUnload Method (IServiceProvider)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com 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)

protected internal virtual void OnActivityExecutionContextUnload(
	IServiceProvider provider
)

Parameters

provider
Type: System.IServiceProvider

The IServiceProvider that provides the service.

.NET Framework
Available since 3.0
Return to top
Show: