Share via


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

Namespace:  System.Web.Razor.Parser.SyntaxTree
Assembly:  System.Web.Razor (in System.Web.Razor.dll)

Syntax

'Declaration
Public Sub New ( _
    message As String, _
    location As SourceLocation, _
    length As Integer _
)
'Usage
Dim message As String 
Dim location As SourceLocation 
Dim length As Integer 

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

Parameters

See Also

Reference

RazorError Class

RazorError Overload

System.Web.Razor.Parser.SyntaxTree Namespace