RazorError 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
RazorError() |
僅用於還原序列化。 |
RazorError(String, SourceLocation, Int32) | |
RazorError(String, Int32, Int32, Int32, Int32) |
RazorError()
僅用於還原序列化。
public:
RazorError();
public RazorError ();
Public Sub New ()
適用於
RazorError(String, SourceLocation, Int32)
public:
RazorError(System::String ^ message, Microsoft::AspNetCore::Razor::SourceLocation location, int length);
public RazorError (string message, Microsoft.AspNetCore.Razor.SourceLocation location, int length);
new Microsoft.AspNetCore.Razor.RazorError : string * Microsoft.AspNetCore.Razor.SourceLocation * int -> Microsoft.AspNetCore.Razor.RazorError
Public Sub New (message As String, location As SourceLocation, length As Integer)
參數
- message
- String
- location
- SourceLocation
- length
- Int32
適用於
RazorError(String, Int32, Int32, Int32, Int32)
public:
RazorError(System::String ^ message, int absoluteIndex, int lineIndex, int columnIndex, int length);
public RazorError (string message, int absoluteIndex, int lineIndex, int columnIndex, int length);
new Microsoft.AspNetCore.Razor.RazorError : string * int * int * int * int -> Microsoft.AspNetCore.Razor.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