ILease.Unregister(ISponsor) 方法

定义

从赞助商列表中删除赞助商。Removes a sponsor from the sponsor list.

public:
 void Unregister(System::Runtime::Remoting::Lifetime::ISponsor ^ obj);
public void Unregister (System.Runtime.Remoting.Lifetime.ISponsor obj);
[System.Security.SecurityCritical]
public void Unregister (System.Runtime.Remoting.Lifetime.ISponsor obj);
abstract member Unregister : System.Runtime.Remoting.Lifetime.ISponsor -> unit
[<System.Security.SecurityCritical>]
abstract member Unregister : System.Runtime.Remoting.Lifetime.ISponsor -> unit
Public Sub Unregister (obj As ISponsor)

参数

obj
ISponsor

要注销的租约赞助商。The lease sponsor to unregister.

属性

例外

直接调用方通过引用接口进行调用,且没有基础结构权限。The immediate caller makes the call through a reference to the interface and does not have infrastructure permission.

适用于