ILease.Unregister Method (ISponsor)

 

Removes a sponsor from the sponsor list.

Namespace:   System.Runtime.Remoting.Lifetime
Assembly:  mscorlib (in mscorlib.dll)

<SecurityCriticalAttribute>
Sub Unregister (
	obj As ISponsor
)

Parameters

obj
Type: System.Runtime.Remoting.Lifetime.ISponsor

The lease sponsor to unregister.

Exception Condition
SecurityException

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

SecurityPermission

for operating with infrastructure code. Demand value: SecurityAction.LinkDemand; Permission value: SecurityPermissionFlag.Infrastructure

.NET Framework
Available since 1.1
Return to top
Show: