Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Activity.Uninitialize Method

When overridden in a derived class, provides uninitialization by a service provider for the activity.

Namespace: System.Workflow.ComponentModel
Assembly: System.Workflow.ComponentModel (in system.workflow.componentmodel.dll)

protected internal virtual void Uninitialize (
	IServiceProvider provider
)
protected void Uninitialize (
	IServiceProvider provider
)
protected internal function Uninitialize (
	provider : IServiceProvider
)
Not applicable.

Parameters

provider

The IServiceProvider providing the service.

This method provides the activity with an opportunity to clean up resources allocated during initialization.

Uninitialize is called when an activity instance is guaranteed not to perform any more execution. For activities that do not implement ICompensatableActivity, this occurs immediately after the activity closes, or, if the activity never executed, at workflow completion. For ICompensatableActivity activities, this occurs either after compensation or at workflow completion.

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
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.