SafeNCryptHandle Konstruktory

Definice

Přetížení

SafeNCryptHandle()

Toto rozhraní API podporuje produktovou infrastrukturu a není určené k použití přímo z uživatelského kódu.

Inicializuje novou instanci SafeNCryptHandle třídy.

SafeNCryptHandle(IntPtr, SafeHandle)

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

SafeNCryptHandle()

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

Inicializuje novou instanci SafeNCryptHandle třídy.

Toto rozhraní API podporuje produktovou infrastrukturu a není určené k použití přímo z uživatelského kódu.

protected:
 SafeNCryptHandle();
protected SafeNCryptHandle ();
[System.Runtime.Versioning.SupportedOSPlatform("windows")]
protected SafeNCryptHandle ();
Protected Sub New ()
Atributy

Platí pro

SafeNCryptHandle(IntPtr, SafeHandle)

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

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

protected:
 SafeNCryptHandle(IntPtr handle, System::Runtime::InteropServices::SafeHandle ^ parentHandle);
protected SafeNCryptHandle (IntPtr handle, System.Runtime.InteropServices.SafeHandle parentHandle);
[System.Runtime.Versioning.SupportedOSPlatform("windows")]
protected SafeNCryptHandle (IntPtr handle, System.Runtime.InteropServices.SafeHandle parentHandle);
new Microsoft.Win32.SafeHandles.SafeNCryptHandle : nativeint * System.Runtime.InteropServices.SafeHandle -> Microsoft.Win32.SafeHandles.SafeNCryptHandle
[<System.Runtime.Versioning.SupportedOSPlatform("windows")>]
new Microsoft.Win32.SafeHandles.SafeNCryptHandle : nativeint * System.Runtime.InteropServices.SafeHandle -> Microsoft.Win32.SafeHandles.SafeNCryptHandle
Protected 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 SafeNCryptHandleobjektu .

Atributy

Výjimky

parentHandle je null.

parentHandle je zavřený.

-nebo-

Formát parentHandle je neplatný.

Platí pro