强制response.Redirect()在编译时显示损坏URL的错误

时间:2012-09-27 04:05:10

标签: c# asp.net

如果在调用response.Redirect()时URL不可用,Visual Studio编译器是否可能显示错误?

1 个答案:

答案 0 :(得分:1)

没有。由于完整的可用Url集在运行时才知道并且完全动态,因此无法在编译/编辑时进行预测。