[Diese Dokumentation ist noch nicht fertig und kann sich bis zur entgültigen Version noch ändern.]
Obtains a lifetime service object to control the lifetime policy for this instance.

Namespace: DynamicNode.Remoting
Assembly: DNRemoteContract (in DNRemoteContract.dll) Version: 1.0.4679.19834 (1.0.0.0)

Syntax

C#
public override Object InitializeLifetimeService()
Visual Basic
Public Overrides Function InitializeLifetimeService As Object
F#
abstract InitializeLifetimeService : unit -> Object 
override InitializeLifetimeService : unit -> Object 

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

ExceptionCondition
System.Security..::..SecurityException The immediate caller does not have infrastructure permission.

See Also