ASPError.Number

The Number property returns a long integer that contains the error code returned by a COM component. This is a standard COM error code.

When decyphering a COM error code, convert the number to hexidecimal, examine the last 8 digits, and use the instructions at Structure of COM Error Codes to understand what the error is. For example, the error -2146828277 converts to FFFFFFFF800A000B in hexidecimal. The 8 represents "FACULTY_WINDOWS: Used for additional error codes from Microsoft-defined interfaces", the A represents Visual Basic, and the B represents decimal 11 which is the Visual Basic error code for a "divide by zero" error. For a list of COM error codes, see System Error Codes.

句法

ASPError.Number()

适用于

ASPError对象

必备条件

Client: Requires Windows XP Professional, Windows 2000 Professional, or Windows NT Workstation 4.0.

Server: Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0.

Product: IIS

如果你喜欢这篇文章,敬请给站长打赏↑

除特别注明外,本站所有文章均为本站站长原译,转载请注明出处。