SafeNCryptHandle 생성자

정의

오버로드

SafeNCryptHandle()

이 API는 제품 인프라를 지원하며 코드에서 직접 사용되지 않습니다.

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

SafeNCryptHandle(IntPtr, SafeHandle)

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

SafeNCryptHandle()

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

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

이 API는 제품 인프라를 지원하며 코드에서 직접 사용되지 않습니다.

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

적용 대상

SafeNCryptHandle(IntPtr, SafeHandle)

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

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

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)

매개 변수

handle
IntPtr

nativeint

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

parentHandle
SafeHandle

SafeNCryptHandle의 상위 핸들입니다.

특성

예외

parentHandle이(가) null인 경우

parentHandle가 닫혀 있습니다.

또는

parentHandle이 잘못되었습니다.

적용 대상