SafeAccessTokenHandle Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SafeAccessTokenHandle() |
Creates a SafeAccessTokenHandle. |
SafeAccessTokenHandle(IntPtr) |
Initializes a new instance of the SafeAccessTokenHandle class. |
SafeAccessTokenHandle()
Creates a 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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.