_AppDomain.GetLifetimeService _AppDomain.GetLifetimeService _AppDomain.GetLifetimeService _AppDomain.GetLifetimeService Method

Definition

Provides COM objects with version-independent access to the inherited GetLifetimeService() method.

public:
 System::Object ^ GetLifetimeService();
[System.Security.SecurityCritical]
public object GetLifetimeService ();
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.

Remarks

See the MarshalByRefObject.GetLifetimeService method.

Security

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

Applies to