ParserBase.OnError Method (SourceLocation, String, array<Object[])

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

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

Syntax

'Declaration
Protected Sub OnError ( _
    location As SourceLocation, _
    message As String, _
    ParamArray args As Object() _
)
'Usage
Dim location As SourceLocation
Dim message As String
Dim args As Object()

Me.OnError(location, message, args)
protected void OnError(
    SourceLocation location,
    string message,
    params Object[] args
)
protected:
void OnError(
    SourceLocation location, 
    String^ message, 
    ... array<Object^>^ args
)
protected function OnError(
    location : SourceLocation, 
    message : String, 
    ... args : Object[]
)

Parameters

Permissions

  • Medium trust for the immediate caller. This member can be used by partially trusted code.

See Also

Reference

ParserBase Class

OnError Overload

System.Web.Razor.Parser Namespace