DomainHostingStarterAgent.Renewal Method

Renews the given lease for 5 minutes.

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

Return Value

Type: System.TimeSpan
Returns TimeSpan.

Implements

ISponsor.Renewal(ILease)

See Also

Reference

DomainHostingStarterAgent Class

Microsoft.Owin.Hosting.Starter Namespace