OnClosed Method

Activity.OnClosed Method (IServiceProvider)

 

Called by the workflow runtime as part of the activity's transition to the closed state.

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

protected virtual void OnClosed(
	IServiceProvider provider
)

Parameters

provider
Type: System.IServiceProvider

The IServiceProvider that provides the service.

This method provides the activity with an opportunity to clean up resources utilized during its execution.

.NET Framework
Available since 3.0
Return to top
Show:
© 2016 Microsoft