iikoFront Api V6 Code Reference
iikoFront Api V6 Code Reference
Resto.Front.Api.UI
ButtonOnClosedOrderView Class
ButtonOnClosedOrderView Methods
InitializeLifetimeService Method
PerformAction Method

# ButtonOnClosedOrderView InitializeLifetimeService Method

Obtains a lifetime service object to control the lifetime policy for this instance.

Namespace: Resto.Front.Api.UI
Assembly: Resto.Front.Api.V6 (in Resto.Front.Api.V6.dll) Version: 1ca4876affdd3bc5359a98b321fc115a647d2251
Syntax
C#
Copy

    public override Object InitializeLifetimeService()

#### Return Value

Type: Object
An object of type ILease used to control the lifetime policy for this instance. This is the current lifetime service object for this instance if one exists; otherwise, a new lifetime service object initialized to the value of the LeaseManagerPollTime property.
Exceptions

Exception | Condition
--- | ---
SecurityException | The immediate caller does not have infrastructure permission.

See Also

#### Reference

ButtonOnClosedOrderView Class
Resto.Front.Api.UI Namespace