ContractBase.Renewal(ILease) Método
Definição
Solicitações de um cliente patrocinador para renovar a concessão para o objeto especificado.Requests a sponsoring client to renew the lease for the specified object.
public:
virtual TimeSpan Renewal(System::Runtime::Remoting::Lifetime::ILease ^ lease);
[System.Security.SecurityCritical]
public TimeSpan Renewal (System.Runtime.Remoting.Lifetime.ILease lease);
[<System.Security.SecurityCritical>]
abstract member Renewal : System.Runtime.Remoting.Lifetime.ILease -> TimeSpan
override this.Renewal : System.Runtime.Remoting.Lifetime.ILease -> TimeSpan
Public Function Renewal (lease As ILease) As TimeSpan
Parâmetros
- lease
- ILease
O objeto de concessão de tempo de vida usado pelo serviço de tempo de vida de comunicação remota.The lifetime lease object that is used by the remoting lifetime service.
Retornos
A concessão renovada.The renewed lease.
Implementações
- Atributos
Exceções
lease é null.lease is null.