SafeBuffer(Boolean) コンストラクター

定義

SafeBuffer クラスの新しいインスタンスを作成し、バッファー ハンドルを確実に解放するかどうかを指定します。

protected:
 SafeBuffer(bool ownsHandle);
protected SafeBuffer(bool ownsHandle);
new System.Runtime.InteropServices.SafeBuffer : bool -> System.Runtime.InteropServices.SafeBuffer
Protected Sub New (ownsHandle As Boolean)

パラメーター

ownsHandle
Boolean

true 最終化フェーズ中にハンドルを確実に解放する。信頼できるリリースを防ぐために false します (推奨されません)。

適用対象