Compartir a través de


ParserContext.OnError Método

Definición

Sobrecargas

OnError(SourceLocation, String)

Este tipo/miembro admite la infraestructura de .NET Framework y no está prevista su utilización directa desde el código. Se produce cuando se produce un error de análisis.

OnError(SourceLocation, String, Object[])

Este tipo/miembro admite la infraestructura de .NET Framework y no está prevista su utilización directa desde el código. Tiene lugar cuando el analizador encuentra un error.

OnError(SourceLocation, String)

Este tipo/miembro admite la infraestructura de .NET Framework y no está prevista su utilización directa desde el código. Se produce cuando se produce un error de análisis.

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)

Parámetros

location
SourceLocation

Ubicación de origen.

message
String

El mensaje de error.

Se aplica a

OnError(SourceLocation, String, Object[])

Este tipo/miembro admite la infraestructura de .NET Framework y no está prevista su utilización directa desde el código. Tiene lugar cuando el analizador encuentra un 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())

Parámetros

location
SourceLocation

Ubicación de origen.

message
String

El mensaje de error.

args
Object[]

Demás información acerca de la ubicación de origen.

Se aplica a