SafeHandle.Finalize 方法

定义

释放与句柄关联的所有资源。Frees all resources associated with the handle.

!SafeHandle ()
~SafeHandle ();
override this.Finalize : unit -> unit
Finalize ()

注解

方法是SafeHandle类的析构函数。 FinalizeThe Finalize method is the destructor for the SafeHandle class. 应用程序代码不应直接调用此方法。Application code should not call this method directly.

安全性

SecurityPermission
用于调用非托管代码的权限。for permission to call unmanaged code. 安全操作: LinkDemandSecurity action: LinkDemand. 关联的枚举:UnmanagedCodeAssociated enumeration: UnmanagedCode

适用于

另请参阅