OnActivityExecutionContextLoad Method

Activity.OnActivityExecutionContextLoad Method (IServiceProvider)


Called by the workflow runtime whenever an ActivityExecutionContext is loaded. For example, this method is called during the creation of an ActivityExecutionContext as well as every time the ActivityExecutionContext is reincarnated when a workflow instance is loaded from persistent storage.

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

protected internal virtual void OnActivityExecutionContextLoad(
	IServiceProvider provider


Type: System.IServiceProvider

The IServiceProvider that provides the service.

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