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