ErrorSink.OnError Método

Definição

Sobrecargas

OnError(RazorError)

Rastreia o determinado error.

OnError(SourceLocation, String, Int32)

Cria e rastreia um novo RazorError.

OnError(RazorError)

Rastreia o determinado error.

public:
 void OnError(Microsoft::AspNetCore::Razor::RazorError ^ error);
public void OnError (Microsoft.AspNetCore.Razor.RazorError error);
member this.OnError : Microsoft.AspNetCore.Razor.RazorError -> unit
Public Sub OnError (error As RazorError)

Parâmetros

error
RazorError

O RazorError a ser rastreado.

Aplica-se a

OnError(SourceLocation, String, Int32)

Cria e rastreia um novo RazorError.

public:
 void OnError(Microsoft::AspNetCore::Razor::SourceLocation location, System::String ^ message, int length);
public void OnError (Microsoft.AspNetCore.Razor.SourceLocation location, string message, int length);
member this.OnError : Microsoft.AspNetCore.Razor.SourceLocation * string * int -> unit
Public Sub OnError (location As SourceLocation, message As String, length As Integer)

Parâmetros

location
SourceLocation

SourceLocation do erro.

message
String

Uma mensagem que descreve o erro.

length
Int32

O comprimento do erro.

Aplica-se a