C# Class PInvoke.WtsApi32.SafeTerminalServerHandle

Represents a Wts server handle that can be closed with WTSCloseServer(IntPtr).
Inheritance: System.Runtime.InteropServices.SafeHandle
Afficher le fichier Open project: AArnott/pinvoke

Méthodes publiques

Свойство Type Description
Null SafeTerminalServerHandle

Méthodes publiques

Méthode Description
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.

Méthodes protégées

Méthode Description
ReleaseHandle ( ) : bool

Method Details

ReleaseHandle() protected méthode

protected ReleaseHandle ( ) : bool
Résultat bool

SafeTerminalServerHandle() public méthode

Initializes a new instance of the SafeTerminalServerHandle class.
public SafeTerminalServerHandle ( ) : System
Résultat System

SafeTerminalServerHandle() public méthode

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. ///
Résultat System

Property Details

Null public_oe static_oe property

A handle that may be used in place of IntPtr.Zero.
public static SafeTerminalServerHandle Null
Résultat SafeTerminalServerHandle