| Visual Basic (Declaration) | |
|---|---|
Public Function GetLifetimeService() As Object | |
| C# | |
|---|---|
public object GetLifetimeService() | |
Return Value
An object of type ILease used to control the lifetime policy for this instance.| Exception | Description |
|---|---|
| SecurityException | The immediate caller does not have infrastructure permission. |
