संपादित करें

इसके माध्यम से साझा किया गया


SafeNCryptHandle Constructors

Definition

Overloads

SafeNCryptHandle()

This API supports the product infrastructure and is not intended to be used directly from your code.

Initializes a new instance of the SafeNCryptHandle class.

SafeNCryptHandle(IntPtr, SafeHandle)

Instantiates a new instance of the SafeNCryptHandle class.

SafeNCryptHandle()

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

Initializes a new instance of the SafeNCryptHandle class.

This API supports the product infrastructure and is not intended to be used directly from your code.

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

Applies to

SafeNCryptHandle(IntPtr, SafeHandle)

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

Instantiates a new instance of the SafeNCryptHandle class.

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)

Parameters

handle
IntPtr

nativeint

The pre-existing handle to use. Using Zero returns an invalid handle.

parentHandle
SafeHandle

The parent handle of this SafeNCryptHandle.

Attributes

Exceptions

parentHandle is null.

parentHandle is closed.

-or-

parentHandle is invalid.

Applies to