?
このドキュメントでは、 php中國(guó)語(yǔ)ネットマニュアル リリース
ASPCode 屬性返回由 IIS 生成的錯(cuò)誤代碼。
ASPDescription 屬性返回錯(cuò)誤的詳細(xì)描述。
Category 屬性返回錯(cuò)誤源(錯(cuò)誤是由 IIS 、腳本語(yǔ)言還是組件產(chǎn)生的?)
Column 屬性返回產(chǎn)生錯(cuò)誤的 ASP 文件中的列位置。
Description 屬性返回關(guān)于錯(cuò)誤的簡(jiǎn)要描述。
File 屬性返回產(chǎn)生錯(cuò)誤的 ASP 文件的名稱。
Line 屬性返回產(chǎn)生錯(cuò)誤的 ASP 文件中的行位置。
Number 屬性返回錯(cuò)誤的標(biāo)準(zhǔn) COM 錯(cuò)誤代碼。
Source 屬性返回錯(cuò)誤發(fā)生行的實(shí)際源代碼。
ASPError.ASPCode()
ASPError.ASPDescription()
ASPError.Category()
ASPError.Column()
ASPError.Description()
ASPError.File()
ASPError.Line()
ASPError.Number()
ASPError.Source()
<%
dim objErr
set objErr=Server.GetLastError()
response.write("ASPCode=" & objErr.ASPCode)
response.write("<br>")
response.write("ASPDescription=" & objErr.ASPDescription)
response.write("<br>")
response.write("Category=" & objErr.Category)
response.write("<br>")
response.write("Column=" & objErr.Column)
response.write("<br>")
response.write("Description=" & objErr.Description)
response.write("<br>")
response.write("File=" & objErr.File)
response.write("<br>")
response.write("Line=" & objErr.Line)
response.write("<br>")
response.write("Number=" & objErr.Number)
response.write("<br>")
response.write("Source=" & objErr.Source)
%>