IJavaPeerable.Finalized 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.
Called when the instance has been finalized.
public void Finalized ();
abstract member Finalized : unit -> unit
Remarks
The Finalized
method is invoked after the finalizer has been invoked on the instance. The PeerReference property is NOT valid when Finalized
is invoked.
[JniTypeSignature ("my/Example")]
partial class ExampleBinding : IJavaPeerable {
~ExampleBinding ()
{
JniEnvironment.Runtime.ValueManager.TryCollectObject (this);
}
protected virtual void Dispose (bool disposing)
{
}
void IJavaPeerable.Finalized ()
{
Dispose (disposing: false);
}
}