_AppDomain.GetLifetimeService Method
Definition
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.
Provides COM objects with version-independent access to the inherited GetLifetimeService() method.
public:
System::Object ^ GetLifetimeService();
public object GetLifetimeService ();
[System.Security.SecurityCritical]
public object GetLifetimeService ();
abstract member GetLifetimeService : unit -> obj
[<System.Security.SecurityCritical>]
abstract member GetLifetimeService : unit -> obj
Public Function GetLifetimeService () As Object
Returns
An object of type ILease used to control the lifetime policy for this instance.
- Attributes
Remarks
See the MarshalByRefObject.GetLifetimeService method.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.