SafeNCryptKeyHandle Konstruktoren

Definition

Überlädt

SafeNCryptKeyHandle()

Initialisiert eine neue Instanz der SafeNCryptKeyHandle-Klasse.

SafeNCryptKeyHandle(IntPtr, SafeHandle)

Instanziiert eine neue Instanz der SafeNCryptKeyHandle-Klasse.

SafeNCryptKeyHandle()

Quelle:
Cng.NotSupported.cs
Quelle:
Cng.NotSupported.cs
Quelle:
Cng.NotSupported.cs

Initialisiert eine neue Instanz der SafeNCryptKeyHandle-Klasse.

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

Gilt für:

SafeNCryptKeyHandle(IntPtr, SafeHandle)

Quelle:
Cng.NotSupported.cs
Quelle:
Cng.NotSupported.cs
Quelle:
Cng.NotSupported.cs

Instanziiert eine neue Instanz der SafeNCryptKeyHandle-Klasse.

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)

Parameter

handle
IntPtr

nativeint

Das bereits vorhandene Handle, das verwendet werden soll. Bei Verwendung von Zero wird ein ungültiges Handle zurückgegeben.

parentHandle
SafeHandle

Das übergeordnete Handle dieses SafeNCryptKeyHandle.

Attribute

Ausnahmen

parentHandle ist null.

Der parentHandle ist geschlossen.

- oder -

parentHandle ist ungültig.

Gilt für: