Activity.OnClosed Method

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
)
protected void OnClosed (
	IServiceProvider provider
)
protected function OnClosed (
	provider : IServiceProvider
)
Not applicable.

Parameters

provider

The IServiceProvider providing the service.

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

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0
Show: