MarshalByRefObject.GetLifetimeService Método

Definición

Recupera el objeto de servicio de duración actual que controla la directiva de duración de esta instancia.Retrieves the current lifetime service object that controls the lifetime policy for this instance.

public:
 System::Object ^ GetLifetimeService();
public:
 virtual System::Object ^ GetLifetimeService();
public object GetLifetimeService ();
[System.Security.SecurityCritical]
public object GetLifetimeService ();
member this.GetLifetimeService : unit -> obj
abstract member GetLifetimeService : unit -> obj
override this.GetLifetimeService : unit -> obj
[<System.Security.SecurityCritical>]
abstract member GetLifetimeService : unit -> obj
override this.GetLifetimeService : unit -> obj
Public Function GetLifetimeService () As Object

Devoluciones

Object

Objeto de tipo ILease utilizado para controlar la directiva de duración de esta instancia.An object of type ILease used to control the lifetime policy for this instance.

Atributos

Excepciones

El llamador inmediato no tiene permisos de infraestructura.The immediate caller does not have infrastructure permission.

Comentarios

Para obtener más información sobre los servicios de duración, vea la LifetimeServices clase.For more information about lifetime services, see the LifetimeServices class.

Se aplica a