ParserBase.OnError Method (SourceLocation, String)
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 _
)
'Usage
Dim location As SourceLocation
Dim message As String
Me.OnError(location, message)
protected void OnError(
SourceLocation location,
string message
)
protected:
void OnError(
SourceLocation location,
String^ message
)
protected function OnError(
location : SourceLocation,
message : String
)
Parameters
- location
Type: System.Web.Razor.Text.SourceLocation
- message
Type: System.String
Permissions
- Medium trust for the immediate caller. This member can be used by partially trusted code.