SafeNCryptKeyHandle Konstruktory

Definice

Přetížení

SafeNCryptKeyHandle()

Inicializuje novou instanci SafeNCryptKeyHandle třídy.

SafeNCryptKeyHandle(IntPtr, SafeHandle)

Vytvoří instanci nové instance SafeNCryptKeyHandle třídy.

SafeNCryptKeyHandle()

Zdroj:
Cng.NotSupported.cs
Zdroj:
Cng.NotSupported.cs
Zdroj:
Cng.NotSupported.cs

Inicializuje novou instanci SafeNCryptKeyHandle třídy.

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

Platí pro

SafeNCryptKeyHandle(IntPtr, SafeHandle)

Zdroj:
Cng.NotSupported.cs
Zdroj:
Cng.NotSupported.cs
Zdroj:
Cng.NotSupported.cs

Vytvoří instanci nové instance SafeNCryptKeyHandle třídy.

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)

Parametry

handle
IntPtr

nativeint

Existující popisovač, který se má použít. Použití Zero vrátí neplatný popisovač.

parentHandle
SafeHandle

Nadřazený popisovač tohoto SafeNCryptKeyHandleobjektu .

Atributy

Výjimky

parentHandle je null.

parentHandle je zavřený.

-nebo-

Formát parentHandle je neplatný.

Platí pro