Click or drag to resize

AutoResetStream.InitializeLifetimeService Method

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

Namespace:  BionicCode.Utilities.Net.Standard.IO
Assembly:  BionicCode.Utilities.Net.Standard (in BionicCode.Utilities.Net.Standard.dll) Version: 1.0.4
Syntax
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
ExceptionCondition
SecurityExceptionThe immediate caller does not have infrastructure permission.
See Also
https://github.com/BionicCode/BionicCode.Net/blob/master/README.md