HttpStatusDescription 类
提供标准 HTTP 状态说明。 此类不能被继承。
internal static class HttpStatusDescription
警告
此类是内部的,不应在代码中直接使用。
在任何情况下,Microsoft 都不支持在生产应用程序中使用此类。
Get 方法
返回与指定的 HTTP 状态代码关联的说明。
internal static string Get(int code)
参数
code
Int32
HTTP 状态代码,例如 404
。
返回值
HTTP 状态说明。
要求
命名空间:System.Net
程序集:System(在 System.dll 中)
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈