Bewerken

Delen via


ObjectHandle.InitializeLifetimeService Method

Definition

Initializes the lifetime lease of the wrapped object.

public:
 override System::Object ^ InitializeLifetimeService();
public override object InitializeLifetimeService ();
[System.Security.SecurityCritical]
public override object InitializeLifetimeService ();
override this.InitializeLifetimeService : unit -> obj
[<System.Security.SecurityCritical>]
override this.InitializeLifetimeService : unit -> obj
Public Overrides Function InitializeLifetimeService () As Object

Returns

An initialized ILease that allows you to control the lifetime of the wrapped object.

Attributes

Applies to