Context. Dispose Core Method
Releases all resources used by the DrawingContext.
protected: abstract void DisposeCore();
protected abstract void DisposeCore ();
abstract member DisposeCore : unit -> unit
Protected MustOverride Sub DisposeCore ()
The object has already been closed or disposed.
Do not call this method directly from your code; use the IDisposable.Dispose method instead.