RazorError Constructor (String, Int32, Int32, Int32)
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Initializes a new instance of the RazorError class.
Namespace: System.Web.Razor.Parser.SyntaxTree
Assembly: System.Web.Razor (in System.Web.Razor.dll)
Syntax
'Declaration
Public Sub New ( _
message As String, _
absoluteIndex As Integer, _
lineIndex As Integer, _
columnIndex As Integer _
)
'Usage
Dim message As String
Dim absoluteIndex As Integer
Dim lineIndex As Integer
Dim columnIndex As Integer
Dim instance As New RazorError(message, _
absoluteIndex, lineIndex, columnIndex)
public RazorError(
string message,
int absoluteIndex,
int lineIndex,
int columnIndex
)
public:
RazorError(
String^ message,
int absoluteIndex,
int lineIndex,
int columnIndex
)
new :
message:string *
absoluteIndex:int *
lineIndex:int *
columnIndex:int -> RazorError
public function RazorError(
message : String,
absoluteIndex : int,
lineIndex : int,
columnIndex : int
)
Parameters
- message
Type: System.String
The error message.
- absoluteIndex
Type: System.Int32
The absolute index of the source location.
- lineIndex
Type: System.Int32
The line index of the source location.
- columnIndex
Type: System.Int32
The column index of the source location.