XamlSchemaContext.Finalize Method ()

.NET Framework (current version)

Provides a nonstandard Finalize implementation that does not invoke Dispose.

Namespace:   System.Xaml
Assembly:  System.Xaml (in System.Xaml.dll)

protected override void 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.

.NET Framework
Available since 4.0
Return to top