Represents an exception that is thrown when an attempt to access an invalid object reference encapsulated by a WeakReference object.
Object
Exception
SystemException
WeakReferenceException
[Visual Basic] Public Class WeakReferenceException Inherits SystemException [C#] public class WeakReferenceException : SystemException [C++] public __gc class WeakReferenceException : public SystemException [JScript] public class WeakReferenceException extends SystemException
The WeakReferenceException is the exception class that is to be used for methods that should be implemented on subclasses.
A WeakReferenceException occurs if an exception is resurrected after a call to Finalize, because Finalize destroys the underlying reference.
Namespace: System
Assembly: mscorlib.dll