DomainHostingStarterAgent.Renewal Method
Renews the lifetime lease of the host.
Namespace: Microsoft.Owin.Hosting.Starter
Assembly: Microsoft.Owin.Hosting (in Microsoft.Owin.Hosting.dll)
Syntax
'Declaration
Public Overridable Function Renewal ( _
lease As ILease _
) As TimeSpan
'Usage
Dim instance As DomainHostingStarterAgent
Dim lease As ILease
Dim returnValue As TimeSpan
returnValue = instance.Renewal(lease)
public virtual TimeSpan Renewal(
ILease lease
)
public:
virtual TimeSpan Renewal(
ILease^ lease
)
abstract Renewal :
lease:ILease -> TimeSpan
override Renewal :
lease:ILease -> TimeSpan
public function Renewal(
lease : ILease
) : TimeSpan
Parameters
- lease
Type: System.Runtime.Remoting.Lifetime.ILease
The lease object that defines the lifetime of the host.
Return Value
Type: System.TimeSpan
The TimeSpan for the renewed lease.