W3cubDocs

/Haxe C#

SafeHandle

package cs.system.runtime.interopservices

extends CriticalFinalizerObject

implements IDisposable

@:abstract@:libType@:csNative@:native("System.Runtime.InteropServices.SafeHandle") Available on cs

Variables

read only IsClosed:Bool

read only IsInvalid:Bool

Methods

@:final @:overload Close ():Void

@:final @:overload DangerousAddRef (success:Ref<Bool>):Void

@:final @:overload DangerousGetHandle ():IntPtr

@:final @:overload DangerousRelease ():Void

@:final @:overload Dispose ():Void

private @:overload Dispose (disposing:Bool):Void

@:final @:overload SetHandleAsInvalid ():Void

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/cs/system/runtime/interopservices/SafeHandle.html