SafeNCryptKeyHandle Constructors

Definitie

Overloads

Name Description
SafeNCryptKeyHandle()

Initialiseert een nieuw exemplaar van de SafeNCryptKeyHandle klasse.

SafeNCryptKeyHandle(IntPtr, SafeHandle)

Instantieert een nieuw exemplaar van de SafeNCryptKeyHandle klasse.

SafeNCryptKeyHandle()

Bron:
Cng.NotSupported.cs
Bron:
Cng.NotSupported.cs
Bron:
Cng.NotSupported.cs
Bron:
Cng.NotSupported.cs
Bron:
Cng.NotSupported.cs

Initialiseert een nieuw exemplaar van de SafeNCryptKeyHandle klasse.

public:
 SafeNCryptKeyHandle();
[System.Runtime.Versioning.SupportedOSPlatform("windows")]
public SafeNCryptKeyHandle();
public SafeNCryptKeyHandle();
Public Sub New ()
Kenmerken

Van toepassing op

SafeNCryptKeyHandle(IntPtr, SafeHandle)

Bron:
Cng.NotSupported.cs
Bron:
Cng.NotSupported.cs
Bron:
Cng.NotSupported.cs
Bron:
Cng.NotSupported.cs
Bron:
Cng.NotSupported.cs

Instantieert een nieuw exemplaar van de SafeNCryptKeyHandle klasse.

public:
 SafeNCryptKeyHandle(IntPtr handle, System::Runtime::InteropServices::SafeHandle ^ parentHandle);
[System.Runtime.Versioning.SupportedOSPlatform("windows")]
public SafeNCryptKeyHandle(IntPtr handle, System.Runtime.InteropServices.SafeHandle parentHandle);
public SafeNCryptKeyHandle(IntPtr handle, System.Runtime.InteropServices.SafeHandle parentHandle);
[<System.Runtime.Versioning.SupportedOSPlatform("windows")>]
new Microsoft.Win32.SafeHandles.SafeNCryptKeyHandle : nativeint * System.Runtime.InteropServices.SafeHandle -> Microsoft.Win32.SafeHandles.SafeNCryptKeyHandle
new Microsoft.Win32.SafeHandles.SafeNCryptKeyHandle : nativeint * System.Runtime.InteropServices.SafeHandle -> Microsoft.Win32.SafeHandles.SafeNCryptKeyHandle
Public Sub New (handle As IntPtr, parentHandle As SafeHandle)

Parameters

handle
IntPtr

nativeint

De bestaande ingang die moet worden gebruikt. Als u een ongeldige ingang gebruikt Zero , wordt er een ongeldige ingang geretourneerd.

parentHandle
SafeHandle

De bovenliggende ingang van deze SafeNCryptKeyHandle.

Kenmerken

Uitzonderingen

parentHandle is null.

parentHandle is gesloten.

– of –

parentHandle is ongeldig.

Van toepassing op