|
|
This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Obtains a lifetime service object to control the lifetime policy for this instance.
Namespace: Smartsite.Web.AspNet
Assembly: Smartsite.Web (in Smartsite.Web.dll)
Syntax
| C# | |
|---|---|
public override InitializeLifetimeService() | |
| Visual Basic (Declaration) | |
|---|---|
Public Overrides Function InitializeLifetimeService As | |
Return Value
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 |
|---|---|
| System.Security..::..SecurityException | The immediate caller does not have infrastructure permission. |
See Also
AspNetHostedRuntime Class
Smartsite.Web.AspNet Namespace