本文介绍了终结与codeDOM?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有可能终结添加到codeDOM生成的类(不是使用codeSnippetTypeMember等)?

Is it possible to add a Finalizer to a CodeDom generated class (other than using CodeSnippetTypeMember)?

我找不到MSDN上关于它的任何信息。

I couldn't find any information about it on MSDN.

推荐答案

这是.NET Framework中的一个已知的bug,并报告了一些时间回的

This was a known bug in .NET Framework and was reported some time back athttp://lab.msdn.microsoft.com/ProductFeedback/viewFeedback.aspx?feedbackId=FDBK48431

但上面的链接,目前没有工作。您可以使用互联网档案馆以下链接查阅。<一href="http://web.archive.org/web/20080224200911rn_2/connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=97599" rel="nofollow">http://web.archive.org/web/20080224200911rn_2/connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=97599

But the link above is currently not working. You can view it using internet archive on the following linkhttp://web.archive.org/web/20080224200911rn_2/connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=97599

我不知道它是否是固定的或没有。

I am not sure whether it was fixed or not.

这篇关于终结与codeDOM?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-05 00:30