Activity.OnClosed 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 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: