Compartir a través de


SafeNCryptKeyHandle Constructores

Definición

Sobrecargas

SafeNCryptKeyHandle()

Inicializa una nueva instancia de la clase SafeNCryptKeyHandle.

SafeNCryptKeyHandle(IntPtr, SafeHandle)

Crea una nueva instancia de la clase SafeNCryptKeyHandle.

SafeNCryptKeyHandle()

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

Inicializa una nueva instancia de la clase SafeNCryptKeyHandle.

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

Se aplica a

SafeNCryptKeyHandle(IntPtr, SafeHandle)

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

Crea una nueva instancia de la clase 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)

Parámetros

handle
IntPtr

nativeint

El identificador preexistente que se va a utilizar. Usar Zero devuelve un identificador no válido.

parentHandle
SafeHandle

El identificador principal de este SafeNCryptKeyHandle.

Atributos

Excepciones

parentHandle es null.

parentHandle está cerrado.

o bien

parentHandle no es válido.

Se aplica a