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

錯誤的長度。

適用於