Partager via


SafeNCryptKeyHandle Constructeurs

Définition

Surcharges

SafeNCryptKeyHandle()

Initialise une nouvelle instance de la classe SafeNCryptKeyHandle.

SafeNCryptKeyHandle(IntPtr, SafeHandle)

Instancie une nouvelle instance de la classe SafeNCryptKeyHandle.

SafeNCryptKeyHandle()

Source:
Cng.NotSupported.cs
Source:
Cng.NotSupported.cs
Source:
Cng.NotSupported.cs

Initialise une nouvelle instance de la classe SafeNCryptKeyHandle.

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

S’applique à

SafeNCryptKeyHandle(IntPtr, SafeHandle)

Source:
Cng.NotSupported.cs
Source:
Cng.NotSupported.cs
Source:
Cng.NotSupported.cs

Instancie une nouvelle instance de la classe SafeNCryptKeyHandle.

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

Paramètres

handle
IntPtr

nativeint

Handle préexistant à utiliser. L'utilisation de Zero retourne un handle non valide.

parentHandle
SafeHandle

Handle parent de ce SafeNCryptKeyHandle.

Attributs

Exceptions

parentHandle a la valeur null.

parentHandle est fermé.

- ou -

parentHandle n'est pas valide.

S’applique à