Class SafeHandle

    • Field Detail

      • assemblyFullName

        public static final java.lang.String assemblyFullName
        Fully assembly qualified name: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
        See Also:
        Constant Field Values
      • assemblyShortName

        public static final java.lang.String assemblyShortName
        Assembly name: mscorlib
        See Also:
        Constant Field Values
      • className

        public static final java.lang.String className
        Qualified class name: System.Runtime.InteropServices.SafeHandle
        See Also:
        Constant Field Values
      • classType

        public static JCType classType
        The type managed from JCOBridge. See JCType
    • Constructor Detail

      • SafeHandle

        public SafeHandle​(java.lang.Object instance)
                   throws java.lang.Throwable
        Internal constructor. Use with caution
        Throws:
        java.lang.Throwable
      • SafeHandle

        public SafeHandle()
                   throws java.lang.Throwable
        Throws:
        java.lang.Throwable
    • Method Detail

      • Close

        public void Close()
                   throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • DangerousAddRef

        public void DangerousAddRef​(JCORefOut<java.util.concurrent.atomic.AtomicBoolean> success)
                             throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • DangerousRelease

        public void DangerousRelease()
                              throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • Dispose

        public void Dispose()
                     throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • SetHandleAsInvalid

        public void SetHandleAsInvalid()
                                throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • close

        public void close()
                   throws java.lang.Exception
        Specified by:
        close in interface java.lang.AutoCloseable
        Throws:
        java.lang.Exception
      • getIsClosed

        public boolean getIsClosed()
                            throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • getIsInvalid

        public boolean getIsInvalid()
                             throws java.lang.Throwable
        Throws:
        java.lang.Throwable