Share via


RazorError Constructors

Definition

Overloads

RazorError(String, SourceLocation)

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.

RazorError(String, SourceLocation, 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.

RazorError(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.

RazorError(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.

RazorError(String, SourceLocation)

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.

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)

Parameters

message
String

The error message.

location
SourceLocation

The source location of the error.

Applies to

RazorError(String, SourceLocation, 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.

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)

Parameters

message
String

The error message.

location
SourceLocation

The source location of the error.

length
Int32

The length for the error.

Applies to

RazorError(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.

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)

Parameters

message
String

The error message.

absoluteIndex
Int32

The absolute index of the source location.

lineIndex
Int32

The line index of the source location.

columnIndex
Int32

The column index of the source location.

Applies to

RazorError(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.

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)

Parameters

message
String

The error message.

absoluteIndex
Int32

The absolute index of the source location.

lineIndex
Int32

The line index of the source location.

columnIndex
Int32

The column index of the source location.

length
Int32

The length for the error.

Applies to