Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft