SafeAccessTokenHandle(IntPtr) Constructor

Definition

Initializes a new instance of the SafeAccessTokenHandle class.

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

Parameters

handle
IntPtr

An IntPtr object that represents the pre-existing handle to use. Using Zero returns an invalid handle.

Applies to