LifetimeContext::AddBoundInstance Method (IDisposable^)

.NET Framework (current version)
 

Binds the lifetime of a disposable part to this lifetime context.

Namespace:   System.Composition.Hosting.Core
Assembly:  System.Composition.Hosting (in System.Composition.Hosting.dll)

public:
void AddBoundInstance(
	IDisposable^ instance
)

Parameters

instance
Type: System::IDisposable^

The part.

Return to top
Show: