XamlSchemaContext.Finalize Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides a nonstandard Finalize
implementation that does not invoke Dispose
.
!XamlSchemaContext ()
~XamlSchemaContext ();
override this.Finalize : unit -> unit
Finalize ()
Remarks
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.