Share via


SafeNCryptHandle Constructeurs

Définition

Surcharges

SafeNCryptHandle()

Cette API prend en charge l'infrastructure du produit et n'est pas destinée à être utilisée directement à partir de votre code.

Initialise une nouvelle instance de la classe SafeNCryptHandle.

SafeNCryptHandle(IntPtr, SafeHandle)

Instancie une nouvelle instance de la classe SafeNCryptHandle.

SafeNCryptHandle()

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

Initialise une nouvelle instance de la classe SafeNCryptHandle.

Cette API prend en charge l'infrastructure du produit et n'est pas destinée à être utilisée directement à partir de votre code.

protected:
 SafeNCryptHandle();
protected SafeNCryptHandle ();
[System.Runtime.Versioning.SupportedOSPlatform("windows")]
protected SafeNCryptHandle ();
Protected Sub New ()
Attributs

S’applique à

SafeNCryptHandle(IntPtr, SafeHandle)

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

Instancie une nouvelle instance de la classe SafeNCryptHandle.

protected:
 SafeNCryptHandle(IntPtr handle, System::Runtime::InteropServices::SafeHandle ^ parentHandle);
protected SafeNCryptHandle (IntPtr handle, System.Runtime.InteropServices.SafeHandle parentHandle);
[System.Runtime.Versioning.SupportedOSPlatform("windows")]
protected SafeNCryptHandle (IntPtr handle, System.Runtime.InteropServices.SafeHandle parentHandle);
new Microsoft.Win32.SafeHandles.SafeNCryptHandle : nativeint * System.Runtime.InteropServices.SafeHandle -> Microsoft.Win32.SafeHandles.SafeNCryptHandle
[<System.Runtime.Versioning.SupportedOSPlatform("windows")>]
new Microsoft.Win32.SafeHandles.SafeNCryptHandle : nativeint * System.Runtime.InteropServices.SafeHandle -> Microsoft.Win32.SafeHandles.SafeNCryptHandle
Protected 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 SafeNCryptHandle.

Attributs

Exceptions

parentHandle a la valeur null.

parentHandle est fermé.

- ou -

parentHandle n'est pas valide.

S’applique à