Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果调用 response.Redirect() 时 URL 不可用,Visual Studio 编译器是否可能显示错误?
不。由于完整的可用 URL 集直到运行时才知道并且完全动态,因此无法在编译/编辑时进行预测。