SafeNCryptKeyHandle Construtores

Definição

Sobrecargas

SafeNCryptKeyHandle()

Inicializa uma nova instância da classe SafeNCryptKeyHandle.

SafeNCryptKeyHandle(IntPtr, SafeHandle)

Cria uma nova instância da classe SafeNCryptKeyHandle.

SafeNCryptKeyHandle()

Origem:
Cng.NotSupported.cs
Origem:
Cng.NotSupported.cs
Origem:
Cng.NotSupported.cs

Inicializa uma nova instância da classe SafeNCryptKeyHandle.

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

Aplica-se a

SafeNCryptKeyHandle(IntPtr, SafeHandle)

Origem:
Cng.NotSupported.cs
Origem:
Cng.NotSupported.cs
Origem:
Cng.NotSupported.cs

Cria uma nova instância da 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)

Parâmetros

handle
IntPtr

nativeint

O identificador pré-existente a ser usado. O uso de Zero retorna um identificador inválido.

parentHandle
SafeHandle

O identificador pai deste SafeNCryptKeyHandle.

Atributos

Exceções

parentHandle é null.

parentHandle está fechado.

- ou -

parentHandle é inválido.

Aplica-se a