共用方式為


ObjectHandle.InitializeLifetimeService 方法

定義

初始化被包裝物件的存留期使用期 (Lifetime Lease)。

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

傳回

可以讓您控制被包裝物件的存留期的已初始化 ILease

屬性

適用於