WeakReferenceMessenger.Cleanup 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.
Performs a cleanup on the current messenger. Invoking this method does not unregister any of the currently registered recipient, and it can be used to perform cleanup operations such as trimming the internal data structures of a messenger implementation.
public void Cleanup ();
abstract member Cleanup : unit -> unit
override this.Cleanup : unit -> unit
Public Sub Cleanup ()