I would like to know what kind of object is returned in Classic ASP by the function Server.GetLastError.

If this were a .net or JavaScript function, I would simply attach a debugger and see what is returned, but I don't have any tools to do that with Classic ASP code in the environment I work in.

有帮助吗?

解决方案

From MSDN:

The GetLastError method returns an ASPError Object describing the error condition that occurred. This method is available only before the .asp file has sent any content to the client.

其他提示

Server.GetLastError returns the last ASPError object, representing the last ASP error that has occured on the server. You can see the definition of the object in the MSDN link.

In general, you can still lookup ASP and VBScript objects and syntax on MSDN.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top