_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: