Share via


ParserContext.OnError Method

Definition

Overloads

OnError(SourceLocation, String)

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

OnError(SourceLocation, String, Object[])

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Occurs when parse encountered an error.

OnError(SourceLocation, String)

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

public void OnError(System.Web.Razor.Text.SourceLocation ___location, string message);
member this.OnError : System.Web.Razor.Text.SourceLocation * string -> unit
Public Sub OnError (___location As SourceLocation, message As String)

Parameters

___location
SourceLocation

The source ___location.

message
String

The error message.

Applies to

OnError(SourceLocation, String, Object[])

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Occurs when parse encountered an error.

public void OnError(System.Web.Razor.Text.SourceLocation ___location, string message, params object[] args);
member this.OnError : System.Web.Razor.Text.SourceLocation * string * obj[] -> unit
Public Sub OnError (___location As SourceLocation, message As String, ParamArray args As Object())

Parameters

___location
SourceLocation

The source ___location.

message
String

The error message.

args
Object[]

The other information about the source ___location.

Applies to