Share via


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

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 _
)
'Usage
Dim message As String 
Dim location As SourceLocation 

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

Parameters

See Also

Reference

RazorError Class

RazorError Overload

System.Web.Razor.Parser.SyntaxTree Namespace