SafeNCryptKeyHandle 생성자

정의

오버로드

SafeNCryptKeyHandle()

SafeNCryptKeyHandle 클래스의 새 인스턴스를 초기화합니다.

SafeNCryptKeyHandle(IntPtr, SafeHandle)

SafeNCryptKeyHandle 클래스의 새 인스턴스를 인스턴스화합니다.

SafeNCryptKeyHandle()

Source:
Cng.NotSupported.cs
Source:
Cng.NotSupported.cs
Source:
Cng.NotSupported.cs

SafeNCryptKeyHandle 클래스의 새 인스턴스를 초기화합니다.

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

적용 대상

SafeNCryptKeyHandle(IntPtr, SafeHandle)

Source:
Cng.NotSupported.cs
Source:
Cng.NotSupported.cs
Source:
Cng.NotSupported.cs

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)

매개 변수

handle
IntPtr

nativeint

사용할 기존 핸들입니다. Zero를 사용하면 잘못된 핸들이 반환됩니다.

parentHandle
SafeHandle

SafeNCryptKeyHandle의 상위 핸들입니다.

특성

예외

parentHandle이(가) null인 경우

parentHandle가 닫혀 있습니다.

또는

parentHandle이 잘못되었습니다.

적용 대상