通过


MobileErrorInfo.LineNumber 属性

定义

如果启用了跟踪,则返回发生异常的代码中的行号。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

public:
 property System::String ^ LineNumber { System::String ^ get(); void set(System::String ^ value); };
public string LineNumber { get; set; }
member this.LineNumber : string with get, set
Public Property LineNumber As String

属性值

发生异常的代码中的行号。

适用于

另请参阅