C# Класс PInvoke.WtsApi32.SafeTerminalServerHandle

Represents a Wts server handle that can be closed with WTSCloseServer(IntPtr).
Наследование: System.Runtime.InteropServices.SafeHandle
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
Null SafeTerminalServerHandle

Открытые методы

Метод Описание
SafeTerminalServerHandle ( ) : System

Initializes a new instance of the SafeTerminalServerHandle class.

SafeTerminalServerHandle ( IntPtr preexistingHandle, bool ownsHandle = true ) : System

Initializes a new instance of the SafeTerminalServerHandle class.

Защищенные методы

Метод Описание
ReleaseHandle ( ) : bool

Описание методов

ReleaseHandle() защищенный Метод

protected ReleaseHandle ( ) : bool
Результат bool

SafeTerminalServerHandle() публичный Метод

Initializes a new instance of the SafeTerminalServerHandle class.
public SafeTerminalServerHandle ( ) : System
Результат System

SafeTerminalServerHandle() публичный Метод

Initializes a new instance of the SafeTerminalServerHandle class.
public SafeTerminalServerHandle ( IntPtr preexistingHandle, bool ownsHandle = true ) : System
preexistingHandle System.IntPtr An object that represents the pre-existing handle to use.
ownsHandle bool /// to have the native handle released when this safe handle is disposed or finalized; /// otherwise. ///
Результат System

Описание свойств

Null публичное статическое свойство

A handle that may be used in place of IntPtr.Zero.
public static SafeTerminalServerHandle Null
Результат SafeTerminalServerHandle