SafeAccessTokenHandle(IntPtr) Konstruktor

Definition

Initialisiert eine neue Instanz der SafeAccessTokenHandle-Klasse.

public:
 SafeAccessTokenHandle(IntPtr handle);
public SafeAccessTokenHandle(IntPtr handle);
new Microsoft.Win32.SafeHandles.SafeAccessTokenHandle : nativeint -> Microsoft.Win32.SafeHandles.SafeAccessTokenHandle
Public Sub New (handle As IntPtr)

Parameter

handle
IntPtr

nativeint

Ein IntPtr Objekt, das das vorhandene Handle darstellt, das verwendet werden soll. Die Verwendung Zero gibt ein ungültiges Handle zurück.

Gilt für: