XamlSchemaContext.Finalize Method


Provides a nonstandard Finalize implementation that does not invoke Dispose.

!XamlSchemaContext ()
~XamlSchemaContext ();
override this.Finalize : unit -> unit
Finalize ()


XAML schema contexts should not be disposed by automatic garbage collection or by manual operations. Although XAML schema contexts have no unmanaged resources, XamlDeferLoadAttribute properties might still be active, and disposing a XAML schema context can interfere with the related defer-load operation.

AssemblyLoad event handlers, which are hooked internally as weak references, are cleaned up by this implementation.

Applies to