共用方式為


SafeEvpPKeyHandle.DuplicateHandle 方法

定義

建立此類型的另一個執行個體,其具有獨立的存留期,但會追蹤相同的資源。

public:
 System::Security::Cryptography::SafeEvpPKeyHandle ^ DuplicateHandle();
public System.Security.Cryptography.SafeEvpPKeyHandle DuplicateHandle ();
member this.DuplicateHandle : unit -> System.Security.Cryptography.SafeEvpPKeyHandle
Public Function DuplicateHandle () As SafeEvpPKeyHandle

傳回

此類型的另一個執行個體,其具有獨立的存留期,但會追蹤相同的資源。

例外狀況

此控制代碼無效。

適用於

另請參閱