Activity.OnActivityExecutionContextLoad(IServiceProvider) Method

Definition

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.

protected public:
 virtual void OnActivityExecutionContextLoad(IServiceProvider ^ provider);
protected internal virtual void OnActivityExecutionContextLoad (IServiceProvider provider);
abstract member OnActivityExecutionContextLoad : IServiceProvider -> unit
override this.OnActivityExecutionContextLoad : IServiceProvider -> unit
Protected Friend Overridable Sub OnActivityExecutionContextLoad (provider As IServiceProvider)

Parameters

provider
IServiceProvider

The IServiceProvider that provides the service.

Applies to