XamlSchemaContext.Finalize Method

Definition

Provides a nonstandard Finalize implementation that does not invoke Dispose.

~XamlSchemaContext ();

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.

Applies to

Produkt Versjoner
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9