[]
Track all allocated objects.
public static class ObjectTracker
Finds the object reference for a specific COM object.
public static ObjectReference Find(ComObject comObject)
comObject
ComObjectThe COM object.
An object reference
Finds a list of object reference from a specified COM object pointer.
public static List<ObjectReference> Find(IntPtr comObjectPtr)
comObjectPtr
System.IntPtrThe COM object pointer.
A list of object reference
Reports all COM object that are active and not yet disposed.
public static List<ObjectReference> FindActiveObjects()
Reports all COM object that are active and not yet disposed.
public static string ReportActiveObjects()
Tracks the specified COM object.
public static void Track(ComObject comObject)
comObject
ComObjectThe COM object.
Untracks the specified COM object.
public static void UnTrack(ComObject comObject)
comObject
ComObjectThe COM object.
Occurs when a ComObject is tracked.
public static event EventHandler<ComObjectEventArgs> Tracked
Occurs when a ComObject is untracked.
public static event EventHandler<ComObjectEventArgs> UnTracked