System.Runtime.Remoting.Services.TrackingServices Class

Provides a way to register, unregister, and obtain a list of tracking handlers.

See Also: TrackingServices Members

Syntax

[System.Runtime.InteropServices.ComVisible(true)]
public class TrackingServices

Remarks

Tracking handlers are objects that implement the System.Runtime.Remoting.Services.ITrackingHandler interface, indicating that they must be notified whenever the remoting infrastructure marshals, unmarshals, or disconnects an object or proxy. Every object that is registered with System.Runtime.Remoting.Services.TrackingServices is called by remoting when an object or proxy in the current AppDomain is marshaled, unmarshaled, or disconnected.

All methods in the System.Runtime.Remoting.Services.TrackingServices class are static and operate on the tracking handlers in the current AppDomain.

Note:

This class makes a link demand. A SecurityException is thrown if the immediate caller does not have infrastructure permission. See [<topic://cpconLinkDemands>] for more information.

Requirements

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