SafeNCryptKeyHandle Konstruktorer

Definition

Överlagringar

Name Description
SafeNCryptKeyHandle()

Initierar en ny instans av SafeNCryptKeyHandle klassen.

SafeNCryptKeyHandle(IntPtr, SafeHandle)

Instansierar en ny instans av SafeNCryptKeyHandle klassen.

SafeNCryptKeyHandle()

Källa:
Cng.NotSupported.cs
Källa:
Cng.NotSupported.cs
Källa:
Cng.NotSupported.cs
Källa:
Cng.NotSupported.cs
Källa:
Cng.NotSupported.cs

Initierar en ny instans av SafeNCryptKeyHandle klassen.

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

Gäller för

SafeNCryptKeyHandle(IntPtr, SafeHandle)

Källa:
Cng.NotSupported.cs
Källa:
Cng.NotSupported.cs
Källa:
Cng.NotSupported.cs
Källa:
Cng.NotSupported.cs
Källa:
Cng.NotSupported.cs

Instansierar en ny instans av SafeNCryptKeyHandle klassen.

public:
 SafeNCryptKeyHandle(IntPtr handle, System::Runtime::InteropServices::SafeHandle ^ parentHandle);
[System.Runtime.Versioning.SupportedOSPlatform("windows")]
public SafeNCryptKeyHandle(IntPtr handle, System.Runtime.InteropServices.SafeHandle parentHandle);
public SafeNCryptKeyHandle(IntPtr handle, System.Runtime.InteropServices.SafeHandle parentHandle);
[<System.Runtime.Versioning.SupportedOSPlatform("windows")>]
new Microsoft.Win32.SafeHandles.SafeNCryptKeyHandle : nativeint * System.Runtime.InteropServices.SafeHandle -> Microsoft.Win32.SafeHandles.SafeNCryptKeyHandle
new Microsoft.Win32.SafeHandles.SafeNCryptKeyHandle : nativeint * System.Runtime.InteropServices.SafeHandle -> Microsoft.Win32.SafeHandles.SafeNCryptKeyHandle
Public Sub New (handle As IntPtr, parentHandle As SafeHandle)

Parametrar

handle
IntPtr

nativeint

Det befintliga handtaget som ska användas. Om du använder Zero returneras ett ogiltigt handtag.

parentHandle
SafeHandle

Det överordnade handtaget för den här SafeNCryptKeyHandle.

Attribut

Undantag

parentHandle är null.

parentHandle är stängd.

-eller-

parentHandle är ogiltigt.

Gäller för