Lingua

SafeNCryptKeyHandle Costruttori

Definizione

Inizializza una nuova istanza della classe SafeNCryptKeyHandle.

Overload

Nome Descrizione
SafeNCryptKeyHandle()

Inizializza una nuova istanza della classe SafeNCryptKeyHandle.

SafeNCryptKeyHandle(IntPtr, SafeHandle)

Crea un'istanza di una nuova istanza della SafeNCryptKeyHandle classe .

SafeNCryptKeyHandle()

Origine:
Cng.NotSupported.cs
Origine:
Cng.NotSupported.cs
Origine:
Cng.NotSupported.cs
Origine:
Cng.NotSupported.cs
Origine:
Cng.NotSupported.cs

Inizializza una nuova istanza della classe SafeNCryptKeyHandle.

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

Si applica a

SafeNCryptKeyHandle(IntPtr, SafeHandle)

Origine:
Cng.NotSupported.cs
Origine:
Cng.NotSupported.cs
Origine:
Cng.NotSupported.cs
Origine:
Cng.NotSupported.cs
Origine:
Cng.NotSupported.cs

Crea un'istanza di una nuova istanza della SafeNCryptKeyHandle classe .

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)

Parametri

handle
IntPtr

nativeint

Handle preesistente da usare. L'utilizzo Zero di restituisce un handle non valido.

parentHandle
SafeHandle

Handle padre di questo SafeNCryptKeyHandleoggetto .

Attributi

Eccezioni

parentHandle è null.

parentHandle è chiuso.

oppure

parentHandle non è valido.

Si applica a