MobileErrorInfo 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see http://go.microsoft.com/fwlink/?LinkId=157231.
提供一个结构,用于读取有关移动应用程序中发生的异常的信息。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅
public ref class MobileErrorInfo
public class MobileErrorInfo
[System.Obsolete("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see http://go.microsoft.com/fwlink/?LinkId=157231.")]
public class MobileErrorInfo
type MobileErrorInfo = class
[<System.Obsolete("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see http://go.microsoft.com/fwlink/?LinkId=157231.")>]
type MobileErrorInfo = class
Public Class MobileErrorInfo
- 继承
-
MobileErrorInfo
- 属性
注解
此类是内部的,由自适应错误处理机制用来封装异常信息。
字段
| 名称 | 说明 |
|---|---|
| ContextKey |
已过时.
从中 Context检索当前异常信息的键。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 |
属性
| 名称 | 说明 |
|---|---|
| Description |
已过时.
返回异常的说明。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 |
| File |
已过时.
返回发生异常的代码文件的名称。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 |
| Item[String] |
已过时.
使用给定键从内部字典或哈希表中返回字符串值。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 |
| LineNumber |
已过时.
如果启用了跟踪,则返回发生异常的代码中的行号。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 |
| MiscText |
已过时.
返回异常的备用文本。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 |
| MiscTitle |
已过时.
返回异常的备用标题。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 |
| Type |
已过时.
返回 Type 异常。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 |
方法
| 名称 | 说明 |
|---|---|
| Equals(Object) |
已过时.
确定指定对象是否等于当前对象。 (继承自 Object) |
| GetHashCode() |
已过时.
用作默认哈希函数。 (继承自 Object) |
| GetType() |
已过时.
获取当前实例的 Type。 (继承自 Object) |
| MemberwiseClone() |
已过时.
创建当前 Object的浅表副本。 (继承自 Object) |
| ToString() |
已过时.
返回一个表示当前对象的字符串。 (继承自 Object) |