System.Runtime.Remoting.Lifetime.ILease.Register Method

Registers a sponsor for the lease without renewing the lease.

Syntax

public void Register (ISponsor obj)

Parameters

obj
The callback object of the sponsor.

Remarks

If a sponsor is registered with the current method, the lease is not renewed.

Requirements

Namespace: System.Runtime.Remoting.Lifetime
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0