Idioma

ILease.RenewOnCallTime Propriedade

Definição

Obtém ou define o tempo pelo qual uma chamada ao objeto remoto renova o CurrentLeaseTime.

public:
 property TimeSpan RenewOnCallTime { TimeSpan get(); void set(TimeSpan value); };
public TimeSpan RenewOnCallTime { get; set; }
public TimeSpan RenewOnCallTime { [System.Security.SecurityCritical] get; [System.Security.SecurityCritical] set; }
member this.RenewOnCallTime : TimeSpan with get, set
[<get: System.Security.SecurityCritical>]
[<set: System.Security.SecurityCritical>]
member this.RenewOnCallTime : TimeSpan with get, set
Public Property RenewOnCallTime As TimeSpan

Valor de Propriedade

O tempo em que uma chamada ao objeto remoto renova o CurrentLeaseTime.

Atributos

Exceções

O chamador imediato faz a chamada através de uma referência à interface e não tem permissão de infraestrutura.

Observações

Quando faz uma chamada para um objeto remoto, o serviço vitalício adiciona o RenewOnCallTime ao CurrentLeaseTime apenas se o CurrentLeaseTime tiver descido abaixo do RenewOnCallTime. Chamadas sequenciais, portanto, não aumentam o CurrentLeaseTime sem limite. Em vez disso, imediatamente após qualquer chamada, é garantido que CurrentLeaseTime será o RenewOnCallTime ou mais longo.

Aplica-se a