string status = (ex.Response as HttpWebResponse)?.StatusCode.ToString() ?? ex.Status.ToString();. If the exception is thrown as a result of a 404 ...
確定! 回上一頁