AppDomain.InitializeLifetimeService Method ()
.NET Framework (current version)
Gives the AppDomain an infinite lifetime by preventing a lease from being created.
Assembly: mscorlib (in mscorlib.dll)
Implements
_AppDomain.InitializeLifetimeService()| Exception | Condition |
|---|---|
| AppDomainUnloadedException | The operation is attempted on an unloaded application domain. |
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
Available since 1.1
Show: