ILease.Unregister(ISponsor) Method

Definition

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)

Parameters

obj
ISponsor

The lease sponsor to unregister.

Attributes

Exceptions

The immediate caller makes the call through a reference to the interface and does not have infrastructure permission.

Applies to