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::FindContextWithin Method (String^)

.NET Framework (current version)
 

Finds the broadest lifetime context that has the specified sharing boundaries.

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

public:
LifetimeContext^ FindContextWithin(
	String^ sharingBoundary
)

Parameters

sharingBoundary
Type: System::String^

The sharing boundaries.

Return Value

Type: System.Composition.Hosting.Core::LifetimeContext^

The broadest lifetime context within the specified boundary.

Return to top
Show:
© 2017 Microsoft