RazorError 构造函数

定义

重载

RazorError(String, SourceLocation)

此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。 初始化 RazorError 类的新实例。

RazorError(String, SourceLocation, Int32)

此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。 初始化 RazorError 类的新实例。

RazorError(String, Int32, Int32, Int32)

此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。 初始化 RazorError 类的新实例。

RazorError(String, Int32, Int32, Int32, Int32)

此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。 初始化 RazorError 类的新实例。

RazorError(String, SourceLocation)

此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。 初始化 RazorError 类的新实例。

public RazorError(string message, System.Web.Razor.Text.SourceLocation location);
new System.Web.Razor.Parser.SyntaxTree.RazorError : string * System.Web.Razor.Text.SourceLocation -> System.Web.Razor.Parser.SyntaxTree.RazorError
Public Sub New (message As String, location As SourceLocation)

参数

message
String

错误消息。

location
SourceLocation

错误的源位置。

适用于

RazorError(String, SourceLocation, Int32)

此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。 初始化 RazorError 类的新实例。

public RazorError(string message, System.Web.Razor.Text.SourceLocation location, int length);
new System.Web.Razor.Parser.SyntaxTree.RazorError : string * System.Web.Razor.Text.SourceLocation * int -> System.Web.Razor.Parser.SyntaxTree.RazorError
Public Sub New (message As String, location As SourceLocation, length As Integer)

参数

message
String

错误消息。

location
SourceLocation

错误的源位置。

length
Int32

错误的长度。

适用于

RazorError(String, Int32, Int32, Int32)

此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。 初始化 RazorError 类的新实例。

public RazorError(string message, int absoluteIndex, int lineIndex, int columnIndex);
new System.Web.Razor.Parser.SyntaxTree.RazorError : string * int * int * int -> System.Web.Razor.Parser.SyntaxTree.RazorError
Public Sub New (message As String, absoluteIndex As Integer, lineIndex As Integer, columnIndex As Integer)

参数

message
String

错误消息。

absoluteIndex
Int32

源位置的绝对索引。

lineIndex
Int32

源位置的行索引。

columnIndex
Int32

源位置的列索引。

适用于

RazorError(String, Int32, Int32, Int32, Int32)

此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。 初始化 RazorError 类的新实例。

public RazorError(string message, int absoluteIndex, int lineIndex, int columnIndex, int length);
new System.Web.Razor.Parser.SyntaxTree.RazorError : string * int * int * int * int -> System.Web.Razor.Parser.SyntaxTree.RazorError
Public Sub New (message As String, absoluteIndex As Integer, lineIndex As Integer, columnIndex As Integer, length As Integer)

参数

message
String

错误消息。

absoluteIndex
Int32

源位置的绝对索引。

lineIndex
Int32

源位置的行索引。

columnIndex
Int32

源位置的列索引。

length
Int32

错误的长度。

适用于