终结器
例句与用法
- In a finalizer , you should only release unmanaged resources that your class owns directly
在终结器中,应该仅释放类直接拥有的非托管资源。 - This requires code in the finalizer to only call code with a strong reliability contract
这要求终结器中的代码只能以强可靠性协定调用代码。 - References are zeroed before the finalizer runs , so even if the finalizer resurrects the object , the
引用归零,因此即使终结器使该对象复活, - Blocks or finalizers being executed , so it is important to abstract all operating system resource access through the
块或终结器的执行,因此,通过 - Memory usage increasing over time is caused by the finalizer thread attempting to call
内存使用与时俱增的原因是:终结器线程试图对非托管com组件调用 - This behavior ensures process integrity if the finalizer cannot free or destroy resources
如果终结器无法释放或销毁资源,此行为可以确保进程完整性。 - Do not use thread local storage , managed or native , to store state on the finalizer thread
不要使用线程本地存储区(托管或本机)来存储终结器线程的状态。 - Suspends the current thread until the thread processing the queue of finalizers has emptied that queue
挂起当前线程,直到处理终结器队列的线程清空该队列为止。 - After normal finalizers have been run for objects that were garbage collected at the same time
在针对同时进行垃圾回收的对象的常规终结器运行之后,垃圾回收器调用 - The finalizer method executes in a cer , and must obey all the constraints on cers and finalizers
终结器方法在cer中执行,并且必须服从所有有关cer和终结器的约束。
用"终结器"造句