CloseGuard.WarnIfOpen 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.
Logs a warning if the caller did not properly cleanup by calling an explicit close method before finalization.
[Android.Runtime.Register("warnIfOpen", "()V", "", ApiSince=30)]
public void WarnIfOpen ();
[<Android.Runtime.Register("warnIfOpen", "()V", "", ApiSince=30)>]
member this.WarnIfOpen : unit -> unit
- Attributes
Remarks
Logs a warning if the caller did not properly cleanup by calling an explicit close method before finalization.
Java documentation for android.util.CloseGuard.warnIfOpen()
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.