Uredi

Deli z drugimi prek


XamlSchemaContext.Finalize Method

Definition

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.

Applies to