System.Runtime.Remoting.Lifetime.ClientSponsor Class

Provides a default implementation for a lifetime sponsor class.

See Also: ClientSponsor Members

Syntax

[System.Runtime.InteropServices.ComVisible(true)]
public class ClientSponsor : MarshalByRefObject, ISponsor

Remarks

The current lifetime sponsor implementation can be used to sponsor objects by specifying the required renewal TimeSpan.

Note:

This class makes a link demand and an inheritance demand at the class level. A System.Security.SecurityException is thrown when either the immediate caller or the derived class does not have infrastructure permission. For details about security demands, see [<topic://cpconLinkDemands>] and [<topic://cpconInheritanceDemands>].

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