C# Class BelhardTraining.LessonMultithreading.SafeTokenHandle

Represents a wrapper class for a token handle.
Inheritance: Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid
Datei anzeigen Open project: bazile/Training Class Usage Examples

Public Methods

Method Description
SafeTokenHandle ( IntPtr handle ) : System

Protected Methods

Method Description
ReleaseHandle ( ) : bool

Private Methods

Method Description
SafeTokenHandle ( ) : System Не удаляйте этот конструктор т.к. программа не будет работать без него

Method Details

ReleaseHandle() protected method

protected ReleaseHandle ( ) : bool
return bool

SafeTokenHandle() public method

public SafeTokenHandle ( IntPtr handle ) : System
handle System.IntPtr
return System