Share via


RazorError Constructor (String, Int32, 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, _
    length As Integer _
)
'Usage
Dim message As String 
Dim absoluteIndex As Integer 
Dim lineIndex As Integer 
Dim columnIndex As Integer 
Dim length As Integer 

Dim instance As New RazorError(message, _
    absoluteIndex, lineIndex, columnIndex, _
    length)
public RazorError(
    string message,
    int absoluteIndex,
    int lineIndex,
    int columnIndex,
    int length
)
public:
RazorError(
    String^ message, 
    int absoluteIndex, 
    int lineIndex, 
    int columnIndex, 
    int length
)
new : 
        message:string * 
        absoluteIndex:int * 
        lineIndex:int * 
        columnIndex:int * 
        length:int -> RazorError
public function RazorError(
    message : String, 
    absoluteIndex : int, 
    lineIndex : int, 
    columnIndex : int, 
    length : int
)

Parameters

  • 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.

See Also

Reference

RazorError Class

RazorError Overload

System.Web.Razor.Parser.SyntaxTree Namespace