C# 클래스 SharpTox.Core.SafeHandleZeroOrMinusOneIsInvalid

Provides a base class for Win32 safe handle implementations in which the value of either 0 or -1 indicates an invalid handle.
상속: System.Runtime.InteropServices.SafeHandle
파일 보기 프로젝트 열기: hexafluoride/Detox

보호된 메소드들

메소드 설명
SafeHandleZeroOrMinusOneIsInvalid ( bool ownsHandle ) : System

Initializes a new instance of the SafeHandleZeroOrMinusOneIsInvalid class, specifying whether the handle is to be reliably released.

메소드 상세

SafeHandleZeroOrMinusOneIsInvalid() 보호된 메소드

Initializes a new instance of the SafeHandleZeroOrMinusOneIsInvalid class, specifying whether the handle is to be reliably released.
protected SafeHandleZeroOrMinusOneIsInvalid ( bool ownsHandle ) : System
ownsHandle bool true to reliably release the handle during the finalization phase; false to prevent reliable release (not recommended).
리턴 System