⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 asp_ref_error.asp@output=print

📁 W3Schools tutorial..web designing
💻 ASP@OUTPUT=PRINT
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-US" xml:lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
<head>

<title>ASP ASPError Object</title>
 
<link rel="shortcut icon" href="../favicon.ico" type="image/x-icon" />
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta name="Keywords" content="xml,tutorial,html,dhtml,css,xsl,xhtml,javascript,asp,ado,vbscript,dom,sql,colors,soap,php,authoring,programming,training,learning,beginner's guide,primer,lessons,school,howto,reference,examples,samples,source code,tags,demos,tips,links,FAQ,tag list,forms,frames,color table,w3c,cascading style sheets,active server pages,dynamic html,internet,database,development,Web building,Webmaster,html guide" />

<meta name="Description" content="Free HTML XHTML CSS JavaScript DHTML XML DOM XSL XSLT RSS AJAX ASP ADO PHP SQL tutorials, references, examples for web building." />

<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="cache-control" content="no-cache" />

<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "../../https@ssl./default.htm" : "../../www./default.htm");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-3855518-1");
pageTracker._initData();
pageTracker._trackPageview();
</script>

</head>
<body>

<p>From <b>http://www.w3schools.com</b> (Copyright Refsnes Data)</p>

<h1>ASP ASPError Object</h1>
<a href="asp_ref_server.asp"><img border="0" alt="previous" src="../images/btn_previous.gif" width="100" height="20" /></a>
 <a href="asp_ref_filesystem.asp"><img border="0" alt="next" src="../images/btn_next.gif" width="100" height="20" /></a>
<hr />

<p class="intro">The ASPError object is used to display detailed information of any error that occurs
in scripts in an ASP page.</p>

<hr />

<h2>The ASPError Object</h2>

<p>The ASPError object was implemented in ASP 3.0 and is available in IIS5 
and later.</p>

<p>The ASPError object is used to display detailed information of any error that occurs
in scripts in an ASP page. The ASPError object is created when Server.GetLastError is
called, so the error information can only be accessed by using the Server.GetLastError method.</p>

<p>The ASPError object's properties are described below (all properties are 
read-only): </p>

<p><b>Note:</b>  The properties below can only be accessed through the Server.GetLastError() method.&nbsp;</p>

<h3>Properties</h3>

<table class="ex" cellspacing="0" border="1" width="100%" cellpadding="3">
  <tr valign="top">
    <th width="25%" align="left">Property</th>
    <th width="75%" align="left">Description</th>
  </tr>
  <tr valign="top">
    <td><a href="prop_asperrorobject.asp">ASPCode</a></td>
    <td> Returns an error code generated by IIS</td>
  </tr>
  <tr valign="top">
    <td><a href="prop_asperrorobject.asp">ASPDescription</a></td>
    <td> Returns a detailed description of the error (if the error is ASP-related)</td>
  </tr>
  <tr valign="top">
    <td><a href="prop_asperrorobject.asp">Category</a></td>
    <td> Returns the source of the error (was the error generated by ASP? By a scripting
      language? By an object?)</td>
  </tr>
  <tr valign="top">
    <td><a href="prop_asperrorobject.asp">Column</a></td>
    <td> Returns the column position within the file that generated the error</td>
  </tr>
  <tr>
    <td><a href="prop_asperrorobject.asp">Description</a></td>
    <td> Returns a short description of the error</td>
  </tr>
  <tr valign="top">
    <td><a href="prop_asperrorobject.asp">File</a></td>
    <td> Returns the name of the ASP file that generated the error</td>
  </tr>
  <tr valign="top">
    <td><a href="prop_asperrorobject.asp">Line</a></td>
    <td> Returns the line number where the error was detected</td>
  </tr>
  <tr valign="top">
    <td><a href="prop_asperrorobject.asp">Number</a></td>
    <td> Returns the standard COM error code for the error</td>
  </tr>
  <tr>
    <td valign="top"><a href="prop_asperrorobject.asp">Source</a></td>
    <td valign="top"><p> Returns the actual source code of the line where the error
      occurred</p>

    </td>
  </tr>
</table>
<br />
<hr />
<a href="asp_ref_server.asp"><img border="0" alt="previous" src="../images/btn_previous.gif" width="100" height="20" /></a>
 <a href="asp_ref_filesystem.asp"><img border="0" alt="next" src="../images/btn_next.gif" width="100" height="20" /></a>

<p>From <b>http://www.w3schools.com</b> (Copyright Refsnes Data)</p>

</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -