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 [C#] public class TrackingServices [C++] public __gc class TrackingServices [JScript] public class TrackingServices
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.
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:
- SecurityPermission for operating with infrastructure code. Demand value: SecurityAction.LinkDemand; Permission Value: SecurityPermissionFlag.Infrastructure