System.Runtime.Remoting.Services.ITrackingHandler

Indicates that the implementing object must be notified of marshaling, unmarshaling, and disconnection of objects and proxies by the remoting infrastructure.

See Also: ITrackingHandler Members

Syntax

[System.Runtime.InteropServices.ComVisible(true)]
public interface ITrackingHandler

Remarks

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.

Note that only objects can be disconnected. An exception is thrown when disconnect is called on a proxy.

Note:

This interface makes a link demand. A SecurityException is thrown if the immediate caller makes the call through a reference to the interface and 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