Redigera

Dela via


SafeAccessTokenHandle Constructors

Definition

Overloads

SafeAccessTokenHandle()

Creates a SafeAccessTokenHandle.

SafeAccessTokenHandle(IntPtr)

Initializes a new instance of the SafeAccessTokenHandle class.

SafeAccessTokenHandle()

public:
 SafeAccessTokenHandle();
public SafeAccessTokenHandle ();
Public Sub New ()

Applies to

SafeAccessTokenHandle(IntPtr)

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

nativeint

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

Applies to