This documentation is archived and is not being maintained.

TrackingServices Class

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

For a list of all members of this type, see TrackingServices Members.


[Visual Basic]
Public Class TrackingServices
public class TrackingServices
public __gc class TrackingServices
public class TrackingServices

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


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

Note   All methods in the 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 Link Demands for more information.


Namespace: System.Runtime.Remoting.Services

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: Mscorlib (in Mscorlib.dll)

.NET Framework Security: 

See Also

TrackingServices Members | System.Runtime.Remoting.Services Namespace | ITrackingHandler