Used to renew a lease for an additional period of time.
| C# | Visual Basic | Visual C++ | J# |
void Renew( long duration )
Sub Renew ( _ duration As Long _ )
void Renew( long long duration )
void Renew( long duration )
- duration (Int64)
- A period of time, specified in milliseconds.
| 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.
|
