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.

_AppDomain::GetLifetimeService Method ()

 

Provides COM objects with version-independent access to the inherited MarshalByRefObject::GetLifetimeService method.

Namespace:   System
Assembly:  mscorlib (in mscorlib.dll)

[SecurityCriticalAttribute]
Object^ GetLifetimeService()

Return Value

Type: System::Object^

An object of type ILease used to control the lifetime policy for this instance.

SecurityCriticalAttribute

Requires full trust for the immediate caller. This member cannot be used by partially trusted or transparent code.

.NET Framework
Available since 1.1
Return to top
Show:
© 2017 Microsoft