Click or drag to resize

DelegatingStreamInitializeLifetimeService Method

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

Namespace:  MongoDB.Driver.GridFS
Assembly:  MongoDB.Driver.GridFS (in MongoDB.Driver.GridFS.dll) Version: 2.5.0+57.Branch.master.Sha.6a4e00a2d91090c65a9b11364b9ebfdb9c7da076
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