SafeNCryptKeyHandle Konstruktory

Definicja

Przeciążenia

SafeNCryptKeyHandle()

Inicjuje nowe wystąpienie klasy SafeNCryptKeyHandle.

SafeNCryptKeyHandle(IntPtr, SafeHandle)

Tworzy nowe wystąpienie klasy SafeNCryptKeyHandle.

SafeNCryptKeyHandle()

Źródło:
Cng.NotSupported.cs
Źródło:
Cng.NotSupported.cs
Źródło:
Cng.NotSupported.cs

Inicjuje nowe wystąpienie klasy SafeNCryptKeyHandle.

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

Dotyczy

SafeNCryptKeyHandle(IntPtr, SafeHandle)

Źródło:
Cng.NotSupported.cs
Źródło:
Cng.NotSupported.cs
Źródło:
Cng.NotSupported.cs

Tworzy nowe wystąpienie klasy 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)

Parametry

handle
IntPtr

nativeint

Istniejące dojście do użycia. Użycie Zero zwraca nieprawidłowe dojście.

parentHandle
SafeHandle

Dojście nadrzędne tego SafeNCryptKeyHandleelementu .

Atrybuty

Wyjątki

parentHandle to null.

parentHandle jest zamknięty.

-lub-

Nazwa parentHandle jest niepoprawna.

Dotyczy