Used to renew a lease for an additional period of time.
Declaration Syntax
C# | Visual Basic | Visual C++ | J# |
void Renew( long duration )
Sub Renew ( _ duration As Long _ )
void Renew( long long duration )
void Renew( long duration )
Parameters
- duration (Int64)
- A period of time, specified in milliseconds.
Exceptions
Exception | Condition |
---|---|
UnknownLeaseException |
The lease being cancelled is unknown to the lease grantor.
|
LeaseDeniedException |
The lease grantor is unable or unwilling to renew the lease.
|