LifetimeContext.FindContextWithin(String) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Finds the broadest lifetime context within all of the specified sharing boundaries.
public:
System::Composition::Hosting::Core::LifetimeContext ^ FindContextWithin(System::String ^ sharingBoundary);
public System.Composition.Hosting.Core.LifetimeContext FindContextWithin (string sharingBoundary);
member this.FindContextWithin : string -> System.Composition.Hosting.Core.LifetimeContext
Public Function FindContextWithin (sharingBoundary As String) As LifetimeContext
- sharingBoundary
- String
The sharing boundary to find a lifetime context within.
The broadest lifetime context within all of the specified sharing boundaries.
Currently, the root cannot be a boundary.
Produkt | Versjoner |
---|---|
.NET | Core 1.1, 8 (package-provided), 9 (package-provided) |
.NET Framework | 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided) |
.NET Standard | 2.0 (package-provided) |
.NET-tilbakemelding
.NET er et åpen kilde-prosjekt. Velg en kobling for å gi tilbakemelding: