我创建一个通用的处理程序(ashx的),但我想在我的代码区域中添加类似下面的我无法添加#地区在Visual Studio中.ashx的2010
#region MyRegionName
context.Response.ContentType = "text/plain";
context.Response.Write("Hello World");
#endregion
没有错误,但没有扩张和崩溃的问题。
请任何意见? 注:我使用Visual Studio 2010
提供一个区域#region descriptionOfWhatThisRegionContains' – shahkalpesh 2011-03-15 10:53:38
它仍然无法正常工作..因为#.csion文件中的区域,如果没有描述,它显示崩溃事件 – Hiyasat 2011-03-15 11:00:24
我也注意到了这个在asmx文件中。 – ScottE 2011-03-15 11:02:01