Bewerken

Share via


_AppDomain.GetLifetimeService Method

Definition

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